Sfoglia il codice sorgente

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

Ben Boeckel 2 anni fa
parent
commit
04300579dd
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Modules/Internal/FeatureTesting.cmake

+ 1 - 0
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)