CMake: Fix replacing all compile options of libcef_dll_wrapper
Append an option, don't replace them.
This commit is contained in:
parent
d48560af0a
commit
c656433bc9
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue