mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 20:22:08 +00:00
[CMAKE] Elimitate the use of GCC and CLANG variables
This commit is contained in:
parent
6f4be52a1c
commit
f155b9377f
32 changed files with 78 additions and 116 deletions
|
@ -210,7 +210,7 @@ target_include_directories(wdf01000
|
|||
|
||||
target_link_libraries(wdf01000 aux_klib ntoskrnl_vista ${PSEH_LIB})
|
||||
|
||||
if(GCC)
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
target_compile_options(wdf01000
|
||||
PRIVATE -Wno-write-strings -Wno-unknown-pragmas -Wno-switch
|
||||
PRIVATE $<$<COMPILE_LANGUAGE:CXX>:-Wno-reorder -Wno-invalid-offsetof -Wno-delete-non-virtual-dtor>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue