mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:06:04 +00:00
[CMAKE] Replace custom functions to built-in ones
add_target_compile_definitions -> target_compile_definitions add_target_compile_flags -> target_compile_options add_target_include_directories -> target_include_directories
This commit is contained in:
parent
480f729f6d
commit
7e069ccdb2
93 changed files with 163 additions and 180 deletions
|
@ -15,9 +15,9 @@ target_link_libraries(nfs41_driver ntoskrnl_vista rdbsslib rxce copysup memcmp $
|
|||
add_importlibs(nfs41_driver ntoskrnl hal)
|
||||
|
||||
if(USE_CLANG_CL OR (NOT MSVC))
|
||||
add_target_compile_flags(nfs41_driver "-Wno-switch")
|
||||
target_compile_options(nfs41_driver PRIVATE "-Wno-switch")
|
||||
if(USE_CLANG_CL)
|
||||
add_target_compile_flags(nfs41_driver "-Wno-unused-value")
|
||||
target_compile_options(nfs41_driver PRIVATE "-Wno-unused-value")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue