diff options
author | Brad King <brad.king@kitware.com> | 2015-05-27 13:23:05 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-05-27 13:23:05 (GMT) |
commit | 337f9b842e027e83256016ad96c321fe5238b78b (patch) | |
tree | 01e1d7159b1741b31d09bb3cfdd9d775bb23c012 | |
parent | d31f6290f131b43be2e9dd30132ee9cd3e0e65e0 (diff) | |
parent | bd2ef44b55f39e253e52289b4f76596c7c9880eb (diff) | |
download | CMake-337f9b842e027e83256016ad96c321fe5238b78b.zip CMake-337f9b842e027e83256016ad96c321fe5238b78b.tar.gz CMake-337f9b842e027e83256016ad96c321fe5238b78b.tar.bz2 |
Merge topic 'intel-fortran-windows-debug'
bd2ef44b Intel: Disable Fortran optimizations for Debug config on Windows (#15583)
-rw-r--r-- | Modules/Platform/Windows-Intel-Fortran.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-Intel-Fortran.cmake b/Modules/Platform/Windows-Intel-Fortran.cmake index 40523ff..0f9a10a 100644 --- a/Modules/Platform/Windows-Intel-Fortran.cmake +++ b/Modules/Platform/Windows-Intel-Fortran.cmake @@ -5,7 +5,7 @@ set(CMAKE_Fortran_MODDIR_FLAG "-module:") set(CMAKE_Fortran_STANDARD_LIBRARIES_INIT "user32.lib") __windows_compiler_intel(Fortran) set (CMAKE_Fortran_FLAGS_INIT "/W1 /nologo /fpp /libs:dll /threads") -set (CMAKE_Fortran_FLAGS_DEBUG_INIT "/debug:full /dbglibs") +set (CMAKE_Fortran_FLAGS_DEBUG_INIT "/Od /debug:full /dbglibs") set (CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "/O1 /D NDEBUG") set (CMAKE_Fortran_FLAGS_RELEASE_INIT "/O2 /D NDEBUG") set (CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "/O2 /debug:full /D NDEBUG") |