mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
NAG-Fortran: Tell the Ninja generator how to preprocess Fortran sources
Fixes: #21398
This commit is contained in:
committed by
Brad King
parent
765a611956
commit
e056006116
@@ -46,3 +46,6 @@ set(CMAKE_Fortran_COMPILE_OPTIONS_PIC "-PIC")
|
||||
set(CMAKE_Fortran_COMPILE_OPTIONS_PIE "-PIC")
|
||||
set(CMAKE_Fortran_RESPONSE_FILE_LINK_FLAG "-Wl,@")
|
||||
set(CMAKE_Fortran_COMPILE_OPTIONS_PREPROCESS_ON "-fpp")
|
||||
|
||||
set(CMAKE_Fortran_PREPROCESS_SOURCE
|
||||
"<CMAKE_Fortran_COMPILER> -fpp <DEFINES> <INCLUDES> <FLAGS> -F <SOURCE> -o <PREPROCESSED_SOURCE>")
|
||||
|
||||
Reference in New Issue
Block a user