summaryrefslogtreecommitdiffhomepage
path: root/cmake/GetGitRevisionDescription.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/GetGitRevisionDescription.cmake')
-rw-r--r--cmake/GetGitRevisionDescription.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/GetGitRevisionDescription.cmake b/cmake/GetGitRevisionDescription.cmake
index e4ac79c0..0c016cc0 100644
--- a/cmake/GetGitRevisionDescription.cmake
+++ b/cmake/GetGitRevisionDescription.cmake
@@ -30,6 +30,8 @@
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
+include_guard(GLOBAL)
+
if(__get_git_revision_description)
return()
endif()