summaryrefslogtreecommitdiffstats
path: root/Modules/CheckFortranSourceCompiles.cmake
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2017-09-29 00:37:00 (GMT)
committerCristian Adam <cristian.adam@gmail.com>2017-12-01 11:05:02 (GMT)
commit4d611868dfe37e73aaba4cdfde37b17e8a2ec7c1 (patch)
tree92babc3335bb767110ef9dc0aff81e464fab35bd /Modules/CheckFortranSourceCompiles.cmake
parent65f21a7eadc2144f0c85cd883cf63a6eb7681528 (diff)
downloadCMake-4d611868dfe37e73aaba4cdfde37b17e8a2ec7c1.zip
CMake-4d611868dfe37e73aaba4cdfde37b17e8a2ec7c1.tar.gz
CMake-4d611868dfe37e73aaba4cdfde37b17e8a2ec7c1.tar.bz2
Check*: Added include guards
Diffstat (limited to 'Modules/CheckFortranSourceCompiles.cmake')
-rw-r--r--Modules/CheckFortranSourceCompiles.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CheckFortranSourceCompiles.cmake b/Modules/CheckFortranSourceCompiles.cmake
index 4df17e3..d2b0cca 100644
--- a/Modules/CheckFortranSourceCompiles.cmake
+++ b/Modules/CheckFortranSourceCompiles.cmake
@@ -66,6 +66,7 @@ Check if given Fortran source compiles and links into an executable.
#]=======================================================================]
+include_guard(GLOBAL)
macro(CHECK_Fortran_SOURCE_COMPILES SOURCE VAR)
if(NOT DEFINED "${VAR}")