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:
commit
edba4bf64c
@ -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,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")
|
||||
|
Loading…
Reference in New Issue
Block a user