summaryrefslogtreecommitdiffhomepage
path: root/cmake/msvc.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/msvc.cmake')
-rw-r--r--cmake/msvc.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake
index 5638a3d8..e21e17d7 100644
--- a/cmake/msvc.cmake
+++ b/cmake/msvc.cmake
@@ -100,6 +100,7 @@ set(_CXXFLAGS "${_CFLAGS} -Zc:throwingNew -Zc:lambda")
set(_CFLAGS_RELEASE "-O2 -Oit -Oy -Ox -Ob3 -fp:fast -GS- -GF -GL -Gw -Gy")
if(NOT floormat-simd STREQUAL "")
set(_CFLAGS_RELEASE "${_CFLAGS_RELEASE} -arch:${floormat-simd}")
+ set(_CFLAGS_DEBUG "${_CFLAGS_DEBUG} -arch:${floormat-simd}")
endif()
set(_CFLAGS_DEBUG "-guard:cf -MDd -RTCsu")
set(_CXXFLAGS_RELEASE "${_CFLAGS_RELEASE}")