diff options
| author | 2023-08-25 19:23:34 -0400 | |
|---|---|---|
| committer | 2023-08-25 19:23:34 -0400 | |
| commit | 6bb02dcb8ab95e67f913867aa388be1b189cfcdb (patch) | |
| tree | 6db9e80757e7af611b3836cbb0454ffd163e5c10 | |
| parent | Avoid `$<CXX_COMPILER_ID:Clang>` because it doesn't include AppleClang. (diff) | |
| download | yuzu-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.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() | |||
| 42 | # mbedtls | 42 | # mbedtls |
| 43 | add_subdirectory(mbedtls) | 43 | add_subdirectory(mbedtls) |
| 44 | target_include_directories(mbedtls PUBLIC ./mbedtls/include) | 44 | target_include_directories(mbedtls PUBLIC ./mbedtls/include) |
| 45 | target_compile_options(mbedcrypto PRIVATE | 45 | if (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) | ||
| 49 | endif() | ||
| 48 | 50 | ||
| 49 | # MicroProfile | 51 | # MicroProfile |
| 50 | add_library(microprofile INTERFACE) | 52 | add_library(microprofile INTERFACE) |