mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-06 23:19:58 +01:00
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
@ -80,7 +80,7 @@ if (MSVC)
|
|||||||
/WX)
|
/WX)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CMAKE_VS_PLATFORM_TOOLSET MATCHES "LLVM-vs[0-9]+")
|
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
|
||||||
list(APPEND DYNARMIC_CXX_FLAGS
|
list(APPEND DYNARMIC_CXX_FLAGS
|
||||||
-Qunused-arguments
|
-Qunused-arguments
|
||||||
-Wno-missing-braces)
|
-Wno-missing-braces)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user