diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2017-09-29 00:37:00 (GMT) |
---|---|---|
committer | Cristian Adam <cristian.adam@gmail.com> | 2017-12-01 11:05:02 (GMT) |
commit | 4d611868dfe37e73aaba4cdfde37b17e8a2ec7c1 (patch) | |
tree | 92babc3335bb767110ef9dc0aff81e464fab35bd /Modules/CheckIncludeFile.cmake | |
parent | 65f21a7eadc2144f0c85cd883cf63a6eb7681528 (diff) | |
download | CMake-4d611868dfe37e73aaba4cdfde37b17e8a2ec7c1.zip CMake-4d611868dfe37e73aaba4cdfde37b17e8a2ec7c1.tar.gz CMake-4d611868dfe37e73aaba4cdfde37b17e8a2ec7c1.tar.bz2 |
Check*: Added include guards
Diffstat (limited to 'Modules/CheckIncludeFile.cmake')
-rw-r--r-- | Modules/CheckIncludeFile.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CheckIncludeFile.cmake b/Modules/CheckIncludeFile.cmake index c566e14..e5554c4 100644 --- a/Modules/CheckIncludeFile.cmake +++ b/Modules/CheckIncludeFile.cmake @@ -34,6 +34,8 @@ # at once. See the :module:`CheckIncludeFileCXX` module to check for headers # using the ``CXX`` language. +include_guard(GLOBAL) + macro(CHECK_INCLUDE_FILE INCLUDE VARIABLE) if(NOT DEFINED "${VARIABLE}") if(CMAKE_REQUIRED_INCLUDES) |