diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2017-09-29 02:37:00 +0200 |
---|---|---|
committer | Cristian Adam <cristian.adam@gmail.com> | 2017-12-01 13:05:02 +0200 |
commit | 4d611868dfe37e73aaba4cdfde37b17e8a2ec7c1 (patch) | |
tree | 92babc3335bb767110ef9dc0aff81e464fab35bd /Modules/CheckVariableExists.cmake | |
parent | 65f21a7eadc2144f0c85cd883cf63a6eb7681528 (diff) | |
download | cmake-4d611868dfe37e73aaba4cdfde37b17e8a2ec7c1.tar.gz |
Check*: Added include guards
Diffstat (limited to 'Modules/CheckVariableExists.cmake')
-rw-r--r-- | Modules/CheckVariableExists.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CheckVariableExists.cmake b/Modules/CheckVariableExists.cmake index fd5c36c6ac..ab456d14d6 100644 --- a/Modules/CheckVariableExists.cmake +++ b/Modules/CheckVariableExists.cmake @@ -32,6 +32,8 @@ # CMAKE_REQUIRED_LIBRARIES = list of libraries to link # CMAKE_REQUIRED_QUIET = execute quietly without messages +include_guard(GLOBAL) + macro(CHECK_VARIABLE_EXISTS VAR VARIABLE) if(NOT DEFINED "${VARIABLE}") set(MACRO_CHECK_VARIABLE_DEFINITIONS |