summaryrefslogtreecommitdiffhomepage
path: root/userconfig-sthalik@Windows-Clang.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-03 23:22:32 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-04 06:58:21 +0100
commitc4d19de8d32eca217ebbe47ee75cf0b04c8202c3 (patch)
treede27512b51e839df1a9f03bc0382f8f614c17745 /userconfig-sthalik@Windows-Clang.cmake
parentf212a76ae68978f1360a9c8b3c1b5a001faa3380 (diff)
cmake: fix a bunch of build errors
Diffstat (limited to 'userconfig-sthalik@Windows-Clang.cmake')
-rw-r--r--userconfig-sthalik@Windows-Clang.cmake10
1 files changed, 9 insertions, 1 deletions
diff --git a/userconfig-sthalik@Windows-Clang.cmake b/userconfig-sthalik@Windows-Clang.cmake
index c54a79da..eab36ea0 100644
--- a/userconfig-sthalik@Windows-Clang.cmake
+++ b/userconfig-sthalik@Windows-Clang.cmake
@@ -59,7 +59,7 @@ function(fm-userconfig-external)
-Wno-unused-but-set-variable
-Wno-error=return-type
)
- if(NOT CMAKE_BUILD_TYPE STREQUAL "DEBUG" OR FLOORMAT_ASAN)
+ if(NOT CMAKE_BUILD_TYPE STREQUAL "DEBUG")
sets(BOOL
FLOORMAT_SUBMODULE-SDL2 ON
SDL_SHARED OFF
@@ -84,6 +84,14 @@ function(fm-userconfig-external)
MAGNUM_BUILD_TESTS ON
)
endif()
+ if(FLOORMAT_ASAN)
+ sets(BOOL
+ CORRADE_BUILD_STATIC ON
+ CORRADE_BUILD_TESTS OFF
+ MAGNUM_BUILD_STATIC ON
+ MAGNUM_BUILD_TESTS OFF
+ )
+ endif()
endfunction()
# for test_app sources only