summaryrefslogtreecommitdiffstats
path: root/Modules/CheckCXXCompilerFlag.cmake
diff options
context:
space:
mode:
authorscivision <scivision@users.noreply.github.com>2023-03-10 03:08:45 (GMT)
committerscivision <scivision@users.noreply.github.com>2023-03-13 14:36:09 (GMT)
commit03c6ebf2b53956d9d8d035f9bf67bb73caca65f3 (patch)
tree339c721aef3fa301ecd50436522f4e239edc8c76 /Modules/CheckCXXCompilerFlag.cmake
parent7d43bcb4db2b26d9f9f8d828198252a44b5560a0 (diff)
downloadCMake-03c6ebf2b53956d9d8d035f9bf67bb73caca65f3.zip
CMake-03c6ebf2b53956d9d8d035f9bf67bb73caca65f3.tar.gz
CMake-03c6ebf2b53956d9d8d035f9bf67bb73caca65f3.tar.bz2
Modules:Check,GenerateExportHeader: include only what's needed
GenerateExportHeader had a hidden state requirement that other modules were included first. Considering include_guard, Modules should include all they actually use.
Diffstat (limited to 'Modules/CheckCXXCompilerFlag.cmake')
-rw-r--r--Modules/CheckCXXCompilerFlag.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/CheckCXXCompilerFlag.cmake b/Modules/CheckCXXCompilerFlag.cmake
index 3bc3463..f3f94c0 100644
--- a/Modules/CheckCXXCompilerFlag.cmake
+++ b/Modules/CheckCXXCompilerFlag.cmake
@@ -33,7 +33,6 @@ effect or even a specific one is beyond the scope of this module.
#]=======================================================================]
include_guard(GLOBAL)
-include(CheckCXXSourceCompiles)
include(Internal/CheckCompilerFlag)
macro (CHECK_CXX_COMPILER_FLAG _FLAG _RESULT)