Merge topic 'patch-TEST_INCLUDE_FILE'

1fa89aa3e4 TEST_INCLUDE_FILE: Replace with TEST_INCLUDE_FILES

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10514
This commit is contained in:
Brad King authored and Kitware Robot committed 2025-03-25 10:52:40 -04:00
commit edba4bf64c
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -392,8 +392,8 @@ include(Source/CMakeVersion.cmake)
include(CTest)
# Set up test-time configuration.
set_directory_properties(PROPERTIES
TEST_INCLUDE_FILE "${CMake_BINARY_DIR}/Tests/EnforceConfig.cmake")
set_property(DIRECTORY APPEND PROPERTY
TEST_INCLUDE_FILES "${CMake_BINARY_DIR}/Tests/EnforceConfig.cmake")
if(NOT CMake_TEST_EXTERNAL_CMAKE)
# where to write the resulting executables and libraries
+1 -1
View File
@@ -1,3 +1,3 @@
include(CTest)
add_test(NAME "unreachable" COMMAND ${CMAKE_COMMAND} -E true)
set_property(DIRECTORY PROPERTY TEST_INCLUDE_FILE ${CMAKE_CURRENT_SOURCE_DIR}/TestfileErrors-Script.cmake)
set_property(DIRECTORY APPEND PROPERTY TEST_INCLUDE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/TestfileErrors-Script.cmake")