summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-11 13:59:44 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-05-11 13:59:47 (GMT)
commit20c838da6bac1123cba65845f3ea730cd5ca51ab (patch)
treeeaae19d24f624cef7c0d69ea48224b26dcaee64e /Modules
parent66b81d8ddd4f9696b549494ac6cac4ebe4ef2bb0 (diff)
parent1cd40bd2264bed272d404796f20b5c77155f5a1f (diff)
downloadCMake-20c838da6bac1123cba65845f3ea730cd5ca51ab.zip
CMake-20c838da6bac1123cba65845f3ea730cd5ca51ab.tar.gz
CMake-20c838da6bac1123cba65845f3ea730cd5ca51ab.tar.bz2
Merge topic 'sunpro-fpp-fix'
1cd40bd2 SunPro: Use -fpp to process all files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !826
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Compiler/SunPro-Fortran.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Compiler/SunPro-Fortran.cmake b/Modules/Compiler/SunPro-Fortran.cmake
index 6607926..9b25c0b 100644
--- a/Modules/Compiler/SunPro-Fortran.cmake
+++ b/Modules/Compiler/SunPro-Fortran.cmake
@@ -19,7 +19,7 @@ set(CMAKE_Fortran_MODDIR_FLAG "-moddir=")
set(CMAKE_Fortran_MODPATH_FLAG "-M")
set(CMAKE_Fortran_PREPROCESS_SOURCE
- "<CMAKE_Fortran_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -F <SOURCE> -o <PREPROCESSED_SOURCE>")
+ "<CMAKE_Fortran_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -F -fpp <SOURCE> -o <PREPROCESSED_SOURCE>")
-set(CMAKE_Fortran_CREATE_PREPROCESSED_SOURCE "<CMAKE_Fortran_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -F <SOURCE> -o <PREPROCESSED_SOURCE>")
+set(CMAKE_Fortran_CREATE_PREPROCESSED_SOURCE "<CMAKE_Fortran_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -F -fpp <SOURCE> -o <PREPROCESSED_SOURCE>")
set(CMAKE_Fortran_CREATE_ASSEMBLY_SOURCE "<CMAKE_Fortran_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")