Skip to content

Commit

Permalink
Update CEF patch
Browse files Browse the repository at this point in the history
Fixes support for ALIAS targets with CMake < 3.18.
  • Loading branch information
dimitry-ishenko committed Sep 14, 2024
1 parent d941344 commit f7c972b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/CMakeModules/patches/cef117.patch
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,11 @@
+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}
Expand Down

0 comments on commit f7c972b

Please sign in to comment.