summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-01-09 19:09:35 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-01-09 19:09:35 (GMT)
commit354b3d40d0fa1ff125b235aef43f4512b352f409 (patch)
treef126af524ea7707a1e5f5c96fee922d50210c969 /Modules
parent3323c73381c1d0e287fffafe82b4b356ff7aea5f (diff)
parent35a58387794a42b96b6055205c59cde774cab3df (diff)
downloadCMake-354b3d40d0fa1ff125b235aef43f4512b352f409.zip
CMake-354b3d40d0fa1ff125b235aef43f4512b352f409.tar.gz
CMake-354b3d40d0fa1ff125b235aef43f4512b352f409.tar.bz2
Merge topic 'Windows-Intel-Fortran-flags-issue-12642'
35a5838 Intel: Fix Windows per-config Fortran flags (#12642)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Windows-Intel-Fortran.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/Platform/Windows-Intel-Fortran.cmake b/Modules/Platform/Windows-Intel-Fortran.cmake
index c959287..5c016a8 100644
--- a/Modules/Platform/Windows-Intel-Fortran.cmake
+++ b/Modules/Platform/Windows-Intel-Fortran.cmake
@@ -6,6 +6,6 @@ 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_MINSIZEREL_INIT "/O2 /D NDEBUG")
-SET (CMAKE_Fortran_FLAGS_RELEASE_INIT "/O1 /D NDEBUG")
-SET (CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "/O1 /debug:full /D NDEBUG")
+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")