Check*: Added include guards

This commit is contained in:
Cristian Adam
2017-09-29 02:37:00 +02:00
parent 65f21a7ead
commit 4d611868df
21 changed files with 36 additions and 3 deletions

View File

@@ -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)