mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 05:08:47 -06:00
Makefiles: Drop 'requires' step and its supporting infrastructure
The 'requires' step was used to provide implicit dependencies between the generated Fortran module files and a Fortran target that needs these module files to ensure the correct compilation order. After recent refactoring to resolve all dependencies explicitly through `.mod.stamp` make targets, the separate 'requires' step is not needed anymore.
This commit is contained in:
@@ -67,11 +67,6 @@ if(CMAKE_USER_MAKE_RULES_OVERRIDE_Fortran)
|
||||
set(CMAKE_USER_MAKE_RULES_OVERRIDE_Fortran "${_override}")
|
||||
endif()
|
||||
|
||||
|
||||
# Fortran needs cmake to do a requires step during its build process to
|
||||
# catch any modules
|
||||
set(CMAKE_NEEDS_REQUIRES_STEP_Fortran_FLAG 1)
|
||||
|
||||
if(NOT CMAKE_Fortran_COMPILE_OPTIONS_PIC)
|
||||
set(CMAKE_Fortran_COMPILE_OPTIONS_PIC ${CMAKE_C_COMPILE_OPTIONS_PIC})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user