mirror of
https://github.com/azahar-emu/mcl
synced 2025-11-07 07:30:05 +01:00
CMakeLists: Fix building with MSVC-clang toolset
This commit is contained in:
parent
0172df7431
commit
9e6107f565
@ -70,7 +70,7 @@ if (MSVC)
|
||||
list(APPEND MCL_CXX_FLAGS /WX)
|
||||
endif()
|
||||
|
||||
if (CMAKE_VS_PLATFORM_TOOLSET MATCHES "LLVM-vs[0-9]+")
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
list(APPEND MCL_CXX_FLAGS
|
||||
-Qunused-arguments
|
||||
-Wno-missing-braces)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user