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/CheckStructHasMember.cmake | |
parent | 65f21a7eadc2144f0c85cd883cf63a6eb7681528 (diff) | |
download | CMake-4d611868dfe37e73aaba4cdfde37b17e8a2ec7c1.zip CMake-4d611868dfe37e73aaba4cdfde37b17e8a2ec7c1.tar.gz CMake-4d611868dfe37e73aaba4cdfde37b17e8a2ec7c1.tar.bz2 |
Check*: Added include guards
Diffstat (limited to 'Modules/CheckStructHasMember.cmake')
-rw-r--r-- | Modules/CheckStructHasMember.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CheckStructHasMember.cmake b/Modules/CheckStructHasMember.cmake index 085b464..8689a5c 100644 --- a/Modules/CheckStructHasMember.cmake +++ b/Modules/CheckStructHasMember.cmake @@ -38,6 +38,7 @@ # Example: CHECK_STRUCT_HAS_MEMBER("struct timeval" tv_sec sys/select.h # HAVE_TIMEVAL_TV_SEC LANGUAGE C) +include_guard(GLOBAL) include(CheckCSourceCompiles) include(CheckCXXSourceCompiles) |