summaryrefslogtreecommitdiffhomepage
path: root/userconfig-sthalik@Windows-MSVC.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'userconfig-sthalik@Windows-MSVC.cmake')
-rw-r--r--userconfig-sthalik@Windows-MSVC.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/userconfig-sthalik@Windows-MSVC.cmake b/userconfig-sthalik@Windows-MSVC.cmake
index 87cc7184..82178993 100644
--- a/userconfig-sthalik@Windows-MSVC.cmake
+++ b/userconfig-sthalik@Windows-MSVC.cmake
@@ -49,6 +49,8 @@ endif()
function(fm-userconfig-external)
if(CMAKE_BUILD_TYPE STREQUAL "DEBUG")
sets(BOOL
+ CORRADE_BUILD_TESTS ON
+ MAGNUM_BUILD_TESTS ON
SDL_STATIC OFF
SDL_SHARED ON
SDL_FORCE_STATIC_VCRT OFF
@@ -59,10 +61,13 @@ function(fm-userconfig-external)
MAGNUM_BUILD_PLUGINS_STATIC OFF
)
else()
+ add_definitions(-DCORRADE_TARGET_AVX_FMA)
sets(BOOL
SDL_STATIC ON
SDL_SHARED OFF
SDL_FORCE_STATIC_VCRT ON
+ CORRADE_BUILD_TESTS OFF
+ MAGNUM_BUILD_TESTS OFF
CORRADE_BUILD_STATIC ON
CORRADE_PLUGINMANAGER_NO_DYNAMIC_PLUGIN_SUPPORT ON
MAGNUM_BUILD_STATIC ON