diff options
| author | TellowKrinkle <tellowkrinkle@gmail.com> | 2023-04-13 21:21:51 -0500 |
|---|---|---|
| committer | TellowKrinkle <tellowkrinkle@gmail.com> | 2023-04-28 20:35:54 -0500 |
| commit | 3ec9b56e73fad6f97d7c94ad14aa78555b660daf (patch) | |
| tree | 066bd338ed5ee7982a776c13ac2f5f868c0b33b4 /Externals | |
| parent | ae18aa0639bdf2d51c8bf738bd7f794d89aa22e4 (diff) | |
Externals: Disable werror on mbedtls
Fixes build on Xcode 14.3
Diffstat (limited to 'Externals')
| -rw-r--r-- | Externals/mbedtls/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Externals/mbedtls/CMakeLists.txt b/Externals/mbedtls/CMakeLists.txt index 6f448876cb..da206c0810 100644 --- a/Externals/mbedtls/CMakeLists.txt +++ b/Externals/mbedtls/CMakeLists.txt @@ -48,7 +48,8 @@ option(ENABLE_ZLIB_SUPPORT "Build mbed TLS with zlib library." OFF) option(ENABLE_PROGRAMS "Build mbed TLS programs." OFF) option(UNSAFE_BUILD "Allow unsafe builds. These builds ARE NOT SECURE." OFF) -option(MBEDTLS_FATAL_WARNINGS "Compiler warnings treated as errors" ON) +# Dolphin: werror makes updating compilers painful +option(MBEDTLS_FATAL_WARNINGS "Compiler warnings treated as errors" OFF) string(REGEX MATCH "Clang" CMAKE_COMPILER_IS_CLANG "${CMAKE_C_COMPILER_ID}") string(REGEX MATCH "GNU" CMAKE_COMPILER_IS_GNU "${CMAKE_C_COMPILER_ID}") @@ -233,8 +234,7 @@ endif(CMAKE_COMPILER_IS_MSVC) if(MBEDTLS_FATAL_WARNINGS) if(CMAKE_COMPILER_IS_MSVC) - # Dolphin/MSVC: we want to disable all warnings for externals - #set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX") endif(CMAKE_COMPILER_IS_MSVC) if(CMAKE_COMPILER_IS_CLANG OR CMAKE_COMPILER_IS_GNU) |
