From 7157fa163c3ec559f991c6d72453f6437b7b43bc Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Tue, 24 May 2005 10:45:39 -0400 Subject: ENH: added requires flag --- Modules/CMakeFortranInformation.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modules/CMakeFortranInformation.cmake b/Modules/CMakeFortranInformation.cmake index 9b4d4c0..4fbe4c2 100644 --- a/Modules/CMakeFortranInformation.cmake +++ b/Modules/CMakeFortranInformation.cmake @@ -11,6 +11,9 @@ SET(CMAKE_SYSTEM_AND_Fortran_COMPILER_INFO_FILE ${CMAKE_ROOT}/Modules/Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_BASE_NAME}.cmake) INCLUDE(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_BASE_NAME} OPTIONAL) +# Fortran needs cmake to do a requires step during its build process to +# catch any modules +SET(CMAKE_NEEDS_REQUIRES_STEP_Fortran_FLAG 1) # Create a set of shared library variable specific to Fortran # For 90% of the systems, these are the same flags as the C versions -- cgit v0.12