diff --git a/src/CMakeModules/patches/cef117.patch b/src/CMakeModules/patches/cef117.patch index e3d5a7e65c..762d3935ba 100644 --- a/src/CMakeModules/patches/cef117.patch +++ b/src/CMakeModules/patches/cef117.patch @@ -72,13 +72,15 @@ +set(CEF_INSTALL_CMAKEDIR ${CMAKE_INSTALL_LIBDIR}/cmake/CEF${VERSION}) --- /dev/null +++ b/libcef_dll/CEFConfig.cmake -@@ -0,0 +1,2 @@ +@@ -0,0 +1,4 @@ +include("${CMAKE_CURRENT_LIST_DIR}/CEFTargets.cmake") -+add_library(CEF::CEF ALIAS CEF::libcef_dll_wrapper) ++ ++add_library(CEF::CEF INTERFACE IMPORTED) ++target_link_libraries(CEF::CEF INTERFACE CEF::libcef_dll_wrapper) --- a/libcef_dll/CMakeLists.txt +++ b/libcef_dll/CMakeLists.txt @@ -782,3 +782,34 @@ target_compile_definitions(${CEF_TARGET} - + # Remove the default "lib" prefix from the resulting library. set_target_properties(${CEF_TARGET} PROPERTIES PREFIX "") +