Skip to content

Commit b4f724a

Browse files
committed
cmake: Set minimum CEF version to 95
We know that our minimum supported CEF version is 95, and we know that OBS (or obs-browser) will fail to build against anything older. Specify the minimum version required in CMake so this becomes a configure failure instead of a build failure.
1 parent 996b5a7 commit b4f724a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if(NOT ENABLE_BROWSER)
1111
return()
1212
endif()
1313

14-
find_package(CEF REQUIRED)
14+
find_package(CEF REQUIRED 95)
1515
find_package(nlohmann_json REQUIRED)
1616

1717
add_library(obs-browser MODULE)

cmake/legacy.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ option(ENABLE_BROWSER_QT_LOOP "Enable running CEF on the main UI thread alongsid
2525

2626
mark_as_advanced(ENABLE_BROWSER_LEGACY ENABLE_BROWSER_SHARED_TEXTURE ENABLE_BROWSER_PANELS ENABLE_BROWSER_QT_LOOP)
2727

28-
find_package(CEF REQUIRED)
28+
find_package(CEF REQUIRED 95)
2929

3030
if(NOT TARGET CEF::Wrapper)
3131
message(

0 commit comments

Comments
 (0)