diff options
Diffstat (limited to 'externals')
| -rw-r--r-- | externals/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 64361de5f..bd01f4c4d 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt | |||
| @@ -40,6 +40,11 @@ target_include_directories(mbedtls PUBLIC ./mbedtls/include) | |||
| 40 | add_library(microprofile INTERFACE) | 40 | add_library(microprofile INTERFACE) |
| 41 | target_include_directories(microprofile INTERFACE ./microprofile) | 41 | target_include_directories(microprofile INTERFACE ./microprofile) |
| 42 | 42 | ||
| 43 | # GCC bugs | ||
| 44 | if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "12" AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND MINGW) | ||
| 45 | target_compile_options(microprofile INTERFACE "-Wno-array-bounds") | ||
| 46 | endif() | ||
| 47 | |||
| 43 | # libusb | 48 | # libusb |
| 44 | if (NOT LIBUSB_FOUND OR YUZU_USE_BUNDLED_LIBUSB) | 49 | if (NOT LIBUSB_FOUND OR YUZU_USE_BUNDLED_LIBUSB) |
| 45 | add_subdirectory(libusb) | 50 | add_subdirectory(libusb) |