summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-24 11:38:39 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-12-24 11:38:39 (GMT)
commit52ee1946b9f25e8cc7befec9276b2d5379ebf92d (patch)
tree7cfb59d434d760fa3759fd8eb8d39077c489bd31
parent2a9f3dc6c7aed366d8dda71038bdc2b62e4fa78a (diff)
parentbe1109d811a637f03328d97a3cacfb9dad273744 (diff)
downloadCMake-52ee1946b9f25e8cc7befec9276b2d5379ebf92d.zip
CMake-52ee1946b9f25e8cc7befec9276b2d5379ebf92d.tar.gz
CMake-52ee1946b9f25e8cc7befec9276b2d5379ebf92d.tar.bz2
Merge topic 'sunpro-Fortran-preprocess'
be1109d8 Oracle/Sun: Fix Fortran preprocessor rule generation
-rw-r--r--Modules/Compiler/SunPro-Fortran.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/SunPro-Fortran.cmake b/Modules/Compiler/SunPro-Fortran.cmake
index c38d5a5..e4db1e8 100644
--- a/Modules/Compiler/SunPro-Fortran.cmake
+++ b/Modules/Compiler/SunPro-Fortran.cmake
@@ -17,5 +17,5 @@ set(CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "-g -xO2 -DNDEBUG")
set(CMAKE_Fortran_MODDIR_FLAG "-moddir=")
set(CMAKE_Fortran_MODPATH_FLAG "-M")
-set(CMAKE_Fortran_CREATE_PREPROCESSED_SOURCE "<CMAKE_Fortran_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
+set(CMAKE_Fortran_CREATE_PREPROCESSED_SOURCE "<CMAKE_Fortran_COMPILER> <DEFINES> <FLAGS> -F <SOURCE> -o <PREPROCESSED_SOURCE>")
set(CMAKE_Fortran_CREATE_ASSEMBLY_SOURCE "<CMAKE_Fortran_COMPILER> <DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")