summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-05-24 14:45:39 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-05-24 14:45:39 (GMT)
commit7157fa163c3ec559f991c6d72453f6437b7b43bc (patch)
tree79d6f05d4b473a4ba1fae8ea9d611d4a2dd994a0 /Modules
parentee51ec64e21991097f287944972fe467d7b700e0 (diff)
downloadCMake-7157fa163c3ec559f991c6d72453f6437b7b43bc.zip
CMake-7157fa163c3ec559f991c6d72453f6437b7b43bc.tar.gz
CMake-7157fa163c3ec559f991c6d72453f6437b7b43bc.tar.bz2
ENH: added requires flag
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeFortranInformation.cmake3
1 files changed, 3 insertions, 0 deletions
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