mirror of
https://github.com/azahar-emu/mcl
synced 2025-11-07 15:40:07 +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)
|
list(APPEND MCL_CXX_FLAGS /WX)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CMAKE_VS_PLATFORM_TOOLSET MATCHES "LLVM-vs[0-9]+")
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||||
list(APPEND MCL_CXX_FLAGS
|
list(APPEND MCL_CXX_FLAGS
|
||||||
-Qunused-arguments
|
-Qunused-arguments
|
||||||
-Wno-missing-braces)
|
-Wno-missing-braces)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user