summaryrefslogtreecommitdiff
path: root/Modules/CheckCXXCompilerFlag.cmake
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2017-09-29 02:37:00 +0200
committerCristian Adam <cristian.adam@gmail.com>2017-12-01 13:05:02 +0200
commit4d611868dfe37e73aaba4cdfde37b17e8a2ec7c1 (patch)
tree92babc3335bb767110ef9dc0aff81e464fab35bd /Modules/CheckCXXCompilerFlag.cmake
parent65f21a7eadc2144f0c85cd883cf63a6eb7681528 (diff)
downloadcmake-4d611868dfe37e73aaba4cdfde37b17e8a2ec7c1.tar.gz
Check*: Added include guards
Diffstat (limited to 'Modules/CheckCXXCompilerFlag.cmake')
-rw-r--r--Modules/CheckCXXCompilerFlag.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CheckCXXCompilerFlag.cmake b/Modules/CheckCXXCompilerFlag.cmake
index f731b70489..dd60835310 100644
--- a/Modules/CheckCXXCompilerFlag.cmake
+++ b/Modules/CheckCXXCompilerFlag.cmake
@@ -32,6 +32,7 @@ effect or even a specific one is beyond the scope of this module.
in such variables may cause a false negative for this check.
#]=======================================================================]
+include_guard(GLOBAL)
include(CheckCXXSourceCompiles)
include(CMakeCheckCompilerFlagCommonPatterns)