CMake: Fix replacing all compile options of libcef_dll_wrapper

Append an option, don't replace them.
This commit is contained in:
Maarten Bent 2024-02-24 20:45:51 +01:00
parent d48560af0a
commit c656433bc9
No known key found for this signature in database
GPG key ID: 58AAEE3F4A4FD070

View file

@ -80,7 +80,7 @@ set_target_properties(libcef_dll_wrapper PROPERTIES
) )
if(NOT MSVC) if(NOT MSVC)
set_target_properties(libcef_dll_wrapper PROPERTIES COMPILE_OPTIONS "-Wno-extra") target_compile_options(libcef_dll_wrapper PRIVATE "-Wno-extra")
endif() endif()
add_library(libcef SHARED IMPORTED GLOBAL) add_library(libcef SHARED IMPORTED GLOBAL)