diff options
author | zmt00 <[email protected]> | 2023-11-23 12:24:21 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-11-23 20:24:21 +0000 |
commit | 5bae42d012ccebe0031ea3a85416af6c1a9ca737 (patch) | |
tree | 5306ce2a263cbc4aac846c80eba3cafdfa6f4908 | |
parent | 9d1bc6ecc28ea7a7dde8af937ce3b328e1bbee98 (diff) | |
download | dynarmic-5bae42d012ccebe0031ea3a85416af6c1a9ca737.tar.gz dynarmic-5bae42d012ccebe0031ea3a85416af6c1a9ca737.zip |
CMakeLists: Fix build with /WX and clang-cl on non-VS generators. (#764)
Co-authored-by: zmt00 <[email protected]>
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a8893f3a..9bfc9508 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) |