summaryrefslogtreecommitdiff
path: root/contrib/depends/gen_toolchain.cmake.sh
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2026-03-04 15:01:26 +0100
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2026-03-04 15:01:57 +0100
commitda4ec54f5296135ab1614b6ae91b0897456de952 (patch)
tree6f9be2e495ad4804d92424b288687e127e8a54e5 /contrib/depends/gen_toolchain.cmake.sh
parent7822a22d63d78ab737aad98b5e44fc78d03d15e3 (diff)
fix: x86_64-w64-mingw32
Diffstat (limited to 'contrib/depends/gen_toolchain.cmake.sh')
-rwxr-xr-xcontrib/depends/gen_toolchain.cmake.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/depends/gen_toolchain.cmake.sh b/contrib/depends/gen_toolchain.cmake.sh
index 0810cf4..df0dd73 100755
--- a/contrib/depends/gen_toolchain.cmake.sh
+++ b/contrib/depends/gen_toolchain.cmake.sh
@@ -56,6 +56,7 @@ cmake_policy(SET CMP0077 NEW) # Ensure 'option' honors normal variables
SET(CMAKE_SYSTEM_NAME @cmake_system_name@)
SET(CMAKE_SYSTEM_PROCESSOR @arch@)
SET(CMAKE_BUILD_TYPE @release_type@)
+SET(CMAKE_CXX_STANDARD 14)
OPTION(STATIC "Link libraries statically" ON)
OPTION(TREZOR_DEBUG "Main trezor debugging switch" OFF)
@@ -246,6 +247,9 @@ endif()
link_directories(@prefix@/lib)
include_directories(@prefix@/include)
+if(EXISTS "@prefix@/include/c++/15.2.0")
+ include_directories("@prefix@/include/c++/15.2.0")
+endif()
include_directories(@prefix@/include/wownero_seed)
add_definitions(-DPOLYSEED_STATIC=ON)