summaryrefslogtreecommitdiff
path: root/Modules/CheckFortranCompilerFlag.cmake
diff options
context:
space:
mode:
authorscivision <scivision@users.noreply.github.com>2023-03-09 22:08:45 -0500
committerscivision <scivision@users.noreply.github.com>2023-03-13 10:36:09 -0400
commit03c6ebf2b53956d9d8d035f9bf67bb73caca65f3 (patch)
tree339c721aef3fa301ecd50436522f4e239edc8c76 /Modules/CheckFortranCompilerFlag.cmake
parent7d43bcb4db2b26d9f9f8d828198252a44b5560a0 (diff)
downloadcmake-03c6ebf2b53956d9d8d035f9bf67bb73caca65f3.tar.gz
Modules:Check,GenerateExportHeader: include only what's needed
GenerateExportHeader had a hidden state requirement that other modules were included first. Considering include_guard, Modules should include all they actually use.
Diffstat (limited to 'Modules/CheckFortranCompilerFlag.cmake')
-rw-r--r--Modules/CheckFortranCompilerFlag.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/CheckFortranCompilerFlag.cmake b/Modules/CheckFortranCompilerFlag.cmake
index 5b1cd02779..b19654be8c 100644
--- a/Modules/CheckFortranCompilerFlag.cmake
+++ b/Modules/CheckFortranCompilerFlag.cmake
@@ -35,7 +35,6 @@ effect or even a specific one is beyond the scope of this module.
#]=======================================================================]
include_guard(GLOBAL)
-include(CheckFortranSourceCompiles)
include(Internal/CheckCompilerFlag)
macro (CHECK_FORTRAN_COMPILER_FLAG _FLAG _RESULT)