diff options
Diffstat (limited to '')
-rw-r--r-- | externals/CMakeLists.txt | 4 | ||||
m--------- | externals/dynarmic | 0 | ||||
m--------- | externals/fmt | 0 | ||||
-rw-r--r-- | externals/opus/CMakeLists.txt | 6 |
4 files changed, 7 insertions, 3 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index d4421f697..653c64f47 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -16,11 +16,11 @@ add_library(catch-single-include INTERFACE) target_include_directories(catch-single-include INTERFACE catch/single_include) # libfmt -pkg_check_modules(FMT IMPORTED_TARGET GLOBAL fmt>=6.1.0) +pkg_check_modules(FMT IMPORTED_TARGET GLOBAL fmt>=6.2.0) if (FMT_FOUND) add_library(fmt::fmt ALIAS PkgConfig::FMT) else() - message(STATUS "fmt 6.1.0 or newer not found, falling back to externals") + message(STATUS "fmt 6.2.0 or newer not found, falling back to externals") add_subdirectory(fmt) add_library(fmt::fmt ALIAS fmt) endif() diff --git a/externals/dynarmic b/externals/dynarmic -Subproject f6ae9e1c3311b747b7b91fd903c62bf40b3b9c8 +Subproject a3cd05577c9b6c51f0f345d0e915b6feab68fe1 diff --git a/externals/fmt b/externals/fmt -Subproject 4b8f8fac96a7819f28f4be523ca10a2d5d8aaaf +Subproject 9bdd1596cef1b57b9556f8bef32dc4a32322ef3 diff --git a/externals/opus/CMakeLists.txt b/externals/opus/CMakeLists.txt index cbb393272..94a86551f 100644 --- a/externals/opus/CMakeLists.txt +++ b/externals/opus/CMakeLists.txt @@ -203,7 +203,11 @@ endif() target_compile_definitions(opus PRIVATE OPUS_BUILD ENABLE_HARDENING) if(NOT MSVC) - target_compile_definitions(opus PRIVATE _FORTIFY_SOURCE=2) + if(MINGW) + target_compile_definitions(opus PRIVATE _FORTIFY_SOURCE=0) + else() + target_compile_definitions(opus PRIVATE _FORTIFY_SOURCE=2) + endif() endif() # It is strongly recommended to uncomment one of these VAR_ARRAYS: Use C99 |