Projects
Multimedia
obs-studio
libx264-optional.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libx264-optional.patch of Package obs-studio (Revision 113)
Currently displaying revision
113
,
Show latest
diff --git a/plugins/obs-x264/CMakeLists.txt b/plugins/obs-x264/CMakeLists.txt index 958d553c8..59ea67205 100644 --- a/plugins/obs-x264/CMakeLists.txt +++ b/plugins/obs-x264/CMakeLists.txt @@ -1,7 +1,8 @@ cmake_minimum_required(VERSION 3.28...3.30) -find_package(Libx264 REQUIRED) +find_package(Libx264) +if(Libx264_FOUND) if(NOT TARGET OBS::opts-parser) add_subdirectory("${CMAKE_SOURCE_DIR}/shared/opts-parser" "${CMAKE_BINARY_DIR}/shared/opts-parser") endif() @@ -20,3 +21,4 @@ endif() set_target_properties_obs(obs-x264 PROPERTIES FOLDER plugins/obs-x264 PREFIX "") include(cmake/x264-test.cmake) +endif()
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.