mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 07:03:06 +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
|
@ -48,7 +48,7 @@ list(APPEND SOURCE
|
|||
|
||||
add_executable(nfsd ${SOURCE} nfsd.rc)
|
||||
|
||||
if(MSVC AND (NOT USE_CLANG_CL))
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "MSVC")
|
||||
# Disable warning C4477 (printf format warnings)
|
||||
target_compile_options(nfsd PRIVATE /wd4477)
|
||||
else()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue