From e868cdf022890fee56fd5c4608190d196362b36d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 29 Oct 2018 08:09:42 +0100 Subject: cmake: add include guards --- cmake/GetGitRevisionDescription.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmake/GetGitRevisionDescription.cmake') 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() -- cgit v1.2.3