diff options
author | Liam <byteslice@airmail.cc> | 2023-08-26 01:23:34 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-08-26 01:23:34 +0200 |
commit | 6bb02dcb8ab95e67f913867aa388be1b189cfcdb (patch) | |
tree | 6db9e80757e7af611b3836cbb0454ffd163e5c10 /externals/CMakeLists.txt | |
parent | Avoid `$<CXX_COMPILER_ID:Clang>` because it doesn't include AppleClang. (diff) | |
download | yuzu-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 |
Diffstat (limited to '')
-rw-r--r-- | externals/CMakeLists.txt | 8 |
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) |