mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03: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