summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Liam2023-08-25 19:23:34 -0400
committerGravatar Liam2023-08-25 19:23:34 -0400
commit6bb02dcb8ab95e67f913867aa388be1b189cfcdb (patch)
tree6db9e80757e7af611b3836cbb0454ffd163e5c10
parentAvoid `$<CXX_COMPILER_ID:Clang>` because it doesn't include AppleClang. (diff)
downloadyuzu-6bb02dcb8ab95e67f913867aa388be1b189cfcdb.tar.gz
yuzu-6bb02dcb8ab95e67f913867aa388be1b189cfcdb.tar.xz
yuzu-6bb02dcb8ab95e67f913867aa388be1b189cfcdb.zip
Skip additional mbedcrypto warnings options on MSVC
Diffstat (limited to '')
-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()
42# mbedtls 42# mbedtls
43add_subdirectory(mbedtls) 43add_subdirectory(mbedtls)
44target_include_directories(mbedtls PUBLIC ./mbedtls/include) 44target_include_directories(mbedtls PUBLIC ./mbedtls/include)
45target_compile_options(mbedcrypto PRIVATE 45if (NOT MSVC)
46 -Wno-unused-but-set-variable 46 target_compile_options(mbedcrypto PRIVATE
47 -Wno-string-concatenation) 47 -Wno-unused-but-set-variable
48 -Wno-string-concatenation)
49endif()
48 50
49# MicroProfile 51# MicroProfile
50add_library(microprofile INTERFACE) 52add_library(microprofile INTERFACE)