diff options
Diffstat (limited to 'userconfig-sthalik@Windows-Clang.cmake')
-rw-r--r-- | userconfig-sthalik@Windows-Clang.cmake | 10 |
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 |