mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-25 00:59:19 -06:00
Modules/Internal/FeatureTesting: mark feature testing as a special test
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user