mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 18:12:58 +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
5
dll/3rdparty/libxslt/CMakeLists.txt
vendored
5
dll/3rdparty/libxslt/CMakeLists.txt
vendored
|
@ -47,9 +47,6 @@ endif()
|
|||
add_pch(libxslt precomp.h SOURCE)
|
||||
add_cd_file(TARGET libxslt DESTINATION reactos/system32 FOR all)
|
||||
|
||||
if(NOT MSVC)
|
||||
if(USE_CLANG_CL OR (NOT MSVC))
|
||||
add_target_compile_flags(libxslt "-Wno-pointer-sign -Wno-unused-function")
|
||||
if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
add_target_compile_flags(libxslt "-Wno-unused-but-set-variable")
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue