summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-07-25 13:26:54 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-07-31 15:37:47 (GMT)
commit04300579ddcb8d6bdd6e653b06b60bae378826dc (patch)
tree8639988df276877d4e37852fd56e4c23051cbf41 /Modules
parent7518fd6074c7544fb7f4694b102514fb0cc9f42c (diff)
downloadCMake-04300579ddcb8d6bdd6e653b06b60bae378826dc.zip
CMake-04300579ddcb8d6bdd6e653b06b60bae378826dc.tar.gz
CMake-04300579ddcb8d6bdd6e653b06b60bae378826dc.tar.bz2
Modules/Internal/FeatureTesting: mark feature testing as a special test
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Internal/FeatureTesting.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Internal/FeatureTesting.cmake b/Modules/Internal/FeatureTesting.cmake
index 1a8a27e..c2bd14f 100644
--- a/Modules/Internal/FeatureTesting.cmake
+++ b/Modules/Internal/FeatureTesting.cmake
@@ -37,6 +37,7 @@ macro(_record_compiler_features lang compile_flags feature_list)
LINK_LIBRARIES "${compile_flags_for_link}"
COPY_FILE "${CMAKE_BINARY_DIR}/CMakeFiles/feature_tests.bin"
COPY_FILE_ERROR _copy_error
+ __CMAKE_INTERNAL FEATURE_TESTING
)
if(NOT CMAKE_${lang}_FEATURE_TEST)
set(_result 255)