mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 18:23:21 +00:00
[CMAKE/CLANG-CL] Silence some clang-cl warnings in consistency with our gcc build.
This commit is contained in:
parent
6fe9441d32
commit
00124d1b1a
29 changed files with 113 additions and 82 deletions
7
sdk/lib/3rdparty/adns/CMakeLists.txt
vendored
7
sdk/lib/3rdparty/adns/CMakeLists.txt
vendored
|
@ -22,9 +22,10 @@ list(APPEND SOURCE
|
|||
src/internal.h)
|
||||
|
||||
add_library(adns ${SOURCE})
|
||||
add_dependencies(adns psdk)
|
||||
add_pch(adns src/internal.h SOURCE)
|
||||
|
||||
if((NOT MSVC) AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang"))
|
||||
if(NOT MSVC)
|
||||
add_target_compile_flags(adns "-Wno-unused-but-set-variable")
|
||||
endif()
|
||||
|
||||
add_dependencies(adns psdk)
|
||||
add_pch(adns src/internal.h SOURCE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue