diff options
author | Brad King <brad.king@kitware.com> | 2018-10-30 15:00:10 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-10-30 15:00:41 (GMT) |
commit | 157e3e1bd6465703ca75fcf8cf7ea2f5271a5c65 (patch) | |
tree | 81b515ecda24f6a78f3136ec781f438bfd4ce8bc | |
parent | a298c188127d06876ce493f23f8b8c2fc9941895 (diff) | |
parent | 8d782adbce56d3e81dd361b5ef6e9ff781a6d436 (diff) | |
download | CMake-157e3e1bd6465703ca75fcf8cf7ea2f5271a5c65.zip CMake-157e3e1bd6465703ca75fcf8cf7ea2f5271a5c65.tar.gz CMake-157e3e1bd6465703ca75fcf8cf7ea2f5271a5c65.tar.bz2 |
Merge topic 'flang-preprocess-source'
8d782adbce Flang: Fix command-line used to preprocess sources
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2545
-rw-r--r-- | Modules/Compiler/Flang-Fortran.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/Flang-Fortran.cmake b/Modules/Compiler/Flang-Fortran.cmake index a1051f4..d522739 100644 --- a/Modules/Compiler/Flang-Fortran.cmake +++ b/Modules/Compiler/Flang-Fortran.cmake @@ -2,7 +2,7 @@ include(Compiler/Clang) __compiler_clang(Fortran) set(CMAKE_Fortran_PREPROCESS_SOURCE - "<CMAKE_Fortran_COMPILER> -cpp <DEFINES> <INCLUDES> <FLAGS> -E <SOURCE> -o <PREPROCESSED_SOURCE>") + "<CMAKE_Fortran_COMPILER> -cpp <DEFINES> <INCLUDES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>") set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-ffixed-form") set(CMAKE_Fortran_FORMAT_FREE_FLAG "-ffree-form") |