CMakeLists: Fix build with /WX and clang-cl on non-VS generators. (#764)
Co-authored-by: zmt00 <25973424+zmt00@users.noreply.github.com>
This commit is contained in:
parent
9d1bc6ecc2
commit
5bae42d012
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ if (MSVC)
|
|||
/WX)
|
||||
endif()
|
||||
|
||||
if (CMAKE_VS_PLATFORM_TOOLSET MATCHES "LLVM-vs[0-9]+")
|
||||
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
|
||||
list(APPEND DYNARMIC_CXX_FLAGS
|
||||
-Qunused-arguments
|
||||
-Wno-missing-braces)
|
||||
|
|
Loading…
Reference in a new issue