From c656433bc99bee5b78e2d050166305a9835d9c7a Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Sat, 24 Feb 2024 20:45:51 +0100 Subject: [PATCH] CMake: Fix replacing all compile options of libcef_dll_wrapper Append an option, don't replace them. --- build/cmake/lib/webview_chromium/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/cmake/lib/webview_chromium/CMakeLists.txt b/build/cmake/lib/webview_chromium/CMakeLists.txt index 4308aa6eaf..7a655f3953 100644 --- a/build/cmake/lib/webview_chromium/CMakeLists.txt +++ b/build/cmake/lib/webview_chromium/CMakeLists.txt @@ -80,7 +80,7 @@ set_target_properties(libcef_dll_wrapper PROPERTIES ) if(NOT MSVC) - set_target_properties(libcef_dll_wrapper PROPERTIES COMPILE_OPTIONS "-Wno-extra") + target_compile_options(libcef_dll_wrapper PRIVATE "-Wno-extra") endif() add_library(libcef SHARED IMPORTED GLOBAL)