mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Check*: Added include guards
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user