diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-10-09 20:11:47 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-10-09 20:11:47 (GMT) |
commit | ebd0c2d3771835a1317c1fd70eafd3ebf2135b01 (patch) | |
tree | 1dc8f5805b5f3f01933bc0035b3b6cad7b04b73a /Modules/Platform/Linux-Intel-Fortran.cmake | |
parent | f9687e328f7ea64ea6384aae11af36fdd3a12643 (diff) | |
download | CMake-ebd0c2d3771835a1317c1fd70eafd3ebf2135b01.zip CMake-ebd0c2d3771835a1317c1fd70eafd3ebf2135b01.tar.gz CMake-ebd0c2d3771835a1317c1fd70eafd3ebf2135b01.tar.bz2 |
Merge in changes for RC 3
Diffstat (limited to 'Modules/Platform/Linux-Intel-Fortran.cmake')
-rw-r--r-- | Modules/Platform/Linux-Intel-Fortran.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/Platform/Linux-Intel-Fortran.cmake b/Modules/Platform/Linux-Intel-Fortran.cmake index 1db5ba6..27a98ed 100644 --- a/Modules/Platform/Linux-Intel-Fortran.cmake +++ b/Modules/Platform/Linux-Intel-Fortran.cmake @@ -1,6 +1,8 @@ INCLUDE(Platform/Linux-Intel) IF(XIAR) - SET(CMAKE_Fortran_CREATE_STATIC_LIBRARY + # INTERPROCEDURAL_OPTIMIZATION + SET(CMAKE_Fortran_COMPILE_OPTIONS_IPO -ipo) + SET(CMAKE_Fortran_CREATE_STATIC_LIBRARY_IPO "${XIAR} cr <TARGET> <LINK_FLAGS> <OBJECTS> " "${XIAR} -s <TARGET> ") ENDIF(XIAR) |