diff options
author | comex <comexk@gmail.com> | 2023-08-20 22:05:49 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-08-26 01:22:31 +0200 |
commit | 91eb5afd0b7c75213763d379638bac6d53548557 (patch) | |
tree | 3574c1aa4075518bbf3b0f96c262f16ae0f5a0c5 /externals | |
parent | Merge pull request #11377 from BenjaminHalko/reverse-slider-input (diff) | |
download | yuzu-91eb5afd0b7c75213763d379638bac6d53548557.tar yuzu-91eb5afd0b7c75213763d379638bac6d53548557.tar.gz yuzu-91eb5afd0b7c75213763d379638bac6d53548557.tar.bz2 yuzu-91eb5afd0b7c75213763d379638bac6d53548557.tar.lz yuzu-91eb5afd0b7c75213763d379638bac6d53548557.tar.xz yuzu-91eb5afd0b7c75213763d379638bac6d53548557.tar.zst yuzu-91eb5afd0b7c75213763d379638bac6d53548557.zip |
Diffstat (limited to 'externals')
-rw-r--r-- | externals/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 1f7cd598e..3a389485b 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -42,6 +42,9 @@ endif() # mbedtls add_subdirectory(mbedtls) target_include_directories(mbedtls PUBLIC ./mbedtls/include) +target_compile_options(mbedcrypto PRIVATE + $<$<CXX_COMPILER_ID:Clang>:-Wno-unused-but-set-variable> + $<$<CXX_COMPILER_ID:Clang>:-Wno-string-concatenation>) # MicroProfile add_library(microprofile INTERFACE) @@ -94,6 +97,10 @@ if (ENABLE_CUBEB AND NOT TARGET cubeb::cubeb) set(BUILD_TOOLS OFF) add_subdirectory(cubeb) add_library(cubeb::cubeb ALIAS cubeb) + if (NOT MSVC) + target_compile_options(speex PRIVATE -Wno-sign-compare) + target_compile_options(cubeb PRIVATE -Wno-implicit-const-int-float-conversion) + endif() endif() # DiscordRPC @@ -151,6 +158,9 @@ endif() if (NOT TARGET LLVM::Demangle) add_library(demangle demangle/ItaniumDemangle.cpp) target_include_directories(demangle PUBLIC ./demangle) + if (NOT MSVC) + target_compile_options(demangle PRIVATE -Wno-deprecated-declarations) # std::is_pod + endif() add_library(LLVM::Demangle ALIAS demangle) endif() |