From: Lukas Korous Date: Mon, 10 Aug 2015 21:53:01 +0000 (+0200) Subject: Explicitely specify disabling of optimizations for MSVC build. X-Git-Tag: v8.4.0-rc2~620^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c789ad1adbadde90b58f49525d3c29ab3c076ca0;p=dealii.git Explicitely specify disabling of optimizations for MSVC build. --- diff --git a/cmake/setup_compiler_flags_msvc.cmake b/cmake/setup_compiler_flags_msvc.cmake index bb5b8c45d3..74e78f78f9 100644 --- a/cmake/setup_compiler_flags_msvc.cmake +++ b/cmake/setup_compiler_flags_msvc.cmake @@ -94,6 +94,6 @@ IF (CMAKE_BUILD_TYPE MATCHES "Debug") LIST(APPEND DEAL_II_USER_DEFINITIONS_DEBUG "DEBUG") # generate some debug info: - ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_DEBUG "/Zi /MDd") + ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_DEBUG "/Zi /MDd /Od") ENDIF()