summaryrefslogtreecommitdiffhomepage
path: root/userconfig-sthalik@Windows-GNU.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-19 18:17:05 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-19 18:28:22 +0100
commitf476ad063d3b13e44d3b4758091126b541c36948 (patch)
tree09aeeb8ca306d414166f988c5efd2f09362a6fb1 /userconfig-sthalik@Windows-GNU.cmake
parent7205b0ce1cb88c41973bd3dffa4e80af99ae25f9 (diff)
cmake: update my userconfig
Diffstat (limited to 'userconfig-sthalik@Windows-GNU.cmake')
-rw-r--r--userconfig-sthalik@Windows-GNU.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/userconfig-sthalik@Windows-GNU.cmake b/userconfig-sthalik@Windows-GNU.cmake
index 7495d3f9..b658b393 100644
--- a/userconfig-sthalik@Windows-GNU.cmake
+++ b/userconfig-sthalik@Windows-GNU.cmake
@@ -1,7 +1,7 @@
sets(STRING
CMAKE_C_FLAGS ""
CMAKE_C_FLAGS_DEBUG "-O0 -g -ggdb -fstack-protector-all"
- CMAKE_C_FLAGS_RELEASE "-O3 -ffast-math -ftree-vectorize -march=core2 -mtune=native -mavx -flto -fipa-pta"
+ CMAKE_C_FLAGS_RELEASE "-O3 -ffast-math -ftree-vectorize -march=core2 -mtune=native -mavx -flto -fipa-pta -static"
)
add_compile_options(-U__SIZEOF_INT128__ -D__SIZEOF_INT128__=0 -U__SIZEOF_FLOAT128__ -D__SIZEOF_FLOAT128__=0)
@@ -23,6 +23,10 @@ endif()
# for building submodule dependencies
function(fm-userconfig-external)
+ sets(BOOL
+ CORRADE_BUILD_TESTS OFF
+ MAGNUM_BUILD_TESTS OFF
+ )
if(CMAKE_BUILD_TYPE STREQUAL "DEBUG")
sets(BOOL
CORRADE_BUILD_TESTS ON