diff --git a/CMakeLists.txt b/CMakeLists.txt index 8ce503df..5d36e2e8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,8 +117,6 @@ cmake_minimum_required(VERSION 3.19) # Only generate Debug and Release configuration types. set(CMAKE_CONFIGURATION_TYPES Debug Release) -set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded") - # Project name. project(jcef) @@ -130,11 +128,6 @@ set_property(GLOBAL PROPERTY OS_FOLDERS ON) # CEF configuration. # -# Specify the CEF branch -if(NOT DEFINED CEF_BRANCH) - set(CEF_BRANCH "5845") -endif() - # Specify the CEF distribution version. if(NOT DEFINED CEF_VERSION) set(CEF_VERSION "122.1.10+gc902316+chromium-122.0.6261.112") @@ -172,7 +165,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_BRANCH}" "${CEF_VERSION}" "${CMAKE_SOURCE_DIR}/third_party/cef") +DownloadCEF("${CEF_PLATFORM}" "${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") @@ -322,4 +315,4 @@ message(STATUS "*** JCEF CONFIGURATION SETTINGS ***") message(STATUS "Python executable: ${PYTHON_EXECUTABLE}") message(STATUS "Java directory: ${JAVA_DIR}") message(STATUS "JNI libraries: ${JNI_LIBRARIES}") -message(STATUS "JNI include directories: ${JNI_INCLUDE_DIRS}") +message(STATUS "JNI include directories: ${JNI_INCLUDE_DIRS}") \ No newline at end of file