Skip to content

Commit

Permalink
cmake: Fix CEF minimum version
Browse files Browse the repository at this point in the history
Apparently, the find_package signature is incorrect. The [version]
component must come before the [REQUIRED] component. I mistakenly placed
them in the reverse order when originally adding the minimum version.

https://cmake.org/cmake/help/v3.28/command/find_package.html#basic-signature
  • Loading branch information
RytoEX authored and WizardCM committed Oct 14, 2024
1 parent b89a128 commit 4dafce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if(NOT ENABLE_BROWSER)
return()
endif()

find_package(CEF REQUIRED 95)
find_package(CEF 95 REQUIRED)
find_package(nlohmann_json 3.11 REQUIRED)

add_library(obs-browser MODULE)
Expand Down

0 comments on commit 4dafce8

Please sign in to comment.