Files
CMake/Tests/RunCMake/Ninja/RspFileFortran.cmake
Brad King d6390ce26e Ninja: Fix Fortran support with response files
The Ninja generator splits preprocessing and compilation steps for
Fortran.  Fix this logic to work when using response files for
compilation so that it works for the preprocessing step too.

This fixes behavior under `CMAKE_NINJA_FORCE_RESPONSE_FILE`.

Issue: #17877
2018-04-05 13:02:27 -04:00

3 lines
69 B
CMake

set(ENV{CMAKE_NINJA_FORCE_RESPONSE_FILE} 1)
enable_language(Fortran)