mirror of
https://github.com/reactos/reactos.git
synced 2025-06-27 06:39:44 +00:00
[CMAKE] Get rid of add_compile_flags
Use add_compile_options and the like instead
This commit is contained in:
parent
84621b3634
commit
00ed72d7e8
26 changed files with 158 additions and 198 deletions
|
@ -1,10 +1,9 @@
|
|||
|
||||
if(GCC)
|
||||
add_compile_flags("-Wno-stringop-overflow")
|
||||
endif()
|
||||
|
||||
add_executable(createspec createspec.c)
|
||||
set_module_type(createspec win32cui)
|
||||
target_link_libraries(createspec wine)
|
||||
if (NOT MSVC)
|
||||
target_compile_options(createspec PRIVATE -Wno-stringop-overflow)
|
||||
endif()
|
||||
add_importlibs(createspec dbghelp msvcrt kernel32)
|
||||
add_cd_file(TARGET createspec DESTINATION reactos/system32 FOR all)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue