summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-08-26 01:23:34 +0200
committerLiam <byteslice@airmail.cc>2023-08-26 01:23:34 +0200
commit6bb02dcb8ab95e67f913867aa388be1b189cfcdb (patch)
tree6db9e80757e7af611b3836cbb0454ffd163e5c10
parentAvoid `$<CXX_COMPILER_ID:Clang>` because it doesn't include AppleClang. (diff)
downloadyuzu-6bb02dcb8ab95e67f913867aa388be1b189cfcdb.tar
yuzu-6bb02dcb8ab95e67f913867aa388be1b189cfcdb.tar.gz
yuzu-6bb02dcb8ab95e67f913867aa388be1b189cfcdb.tar.bz2
yuzu-6bb02dcb8ab95e67f913867aa388be1b189cfcdb.tar.lz
yuzu-6bb02dcb8ab95e67f913867aa388be1b189cfcdb.tar.xz
yuzu-6bb02dcb8ab95e67f913867aa388be1b189cfcdb.tar.zst
yuzu-6bb02dcb8ab95e67f913867aa388be1b189cfcdb.zip
-rw-r--r--externals/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index 4a8e1cee9..82a6da9fd 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -42,9 +42,11 @@ endif()
# mbedtls
add_subdirectory(mbedtls)
target_include_directories(mbedtls PUBLIC ./mbedtls/include)
-target_compile_options(mbedcrypto PRIVATE
- -Wno-unused-but-set-variable
- -Wno-string-concatenation)
+if (NOT MSVC)
+ target_compile_options(mbedcrypto PRIVATE
+ -Wno-unused-but-set-variable
+ -Wno-string-concatenation)
+endif()
# MicroProfile
add_library(microprofile INTERFACE)