mirror of
https://github.com/reactos/CMake.git
synced 2024-12-12 05:45:51 +00:00
144cc6f1f9
Fortran INCLUDE statements are not handled by the preprocessor. Since the location of the preprocessed file is distinct from the original source file explicitly add the source file's directory as an include path in the actual compile step (not the preprocessing step) so INCLUDE can find it. Closes: #16332
6 lines
100 B
Fortran
6 lines
100 B
Fortran
INCLUDE "non_pp_include.f90"
|
|
|
|
PROGRAM MAINF90
|
|
CALL NON_PP_INCLUDE_SUBROUTINE
|
|
END PROGRAM MAINF90
|