diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e12f87e..eabc28cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -130,6 +130,11 @@ set_property(GLOBAL PROPERTY OS_FOLDERS ON) # CEF configuration. # +# Specify the CEF branch +if(NOT DEFINED CEF_BRANCH) + set(CEF_BRANCH "6312") +endif() + # Specify the CEF distribution version. if(NOT DEFINED CEF_VERSION) set(CEF_VERSION "122.1.10+gc902316+chromium-122.0.6261.112") @@ -167,7 +172,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake") # Download and extract the CEF binary distribution (executes DownloadCEF.cmake). include(DownloadCEF) -DownloadCEF("${CEF_PLATFORM}" "${CEF_VERSION}" "${CMAKE_SOURCE_DIR}/third_party/cef") +DownloadCEF("${CEF_PLATFORM}" "${CEF_BRANCH}" "${CEF_VERSION}" "${CMAKE_SOURCE_DIR}/third_party/cef") # Add the CEF binary distribution's cmake/ directory to the module path. set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CEF_ROOT}/cmake")