Modules/Internal/FeatureTesting: mark feature testing as a special test

This commit is contained in:
Ben Boeckel
2023-07-25 09:26:54 -04:00
parent 7518fd6074
commit 04300579dd

View File

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