mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00

If the argument to `remove_directory` is a symlink to a directory, remove the symlink instead. Issue: #19533
7 lines
240 B
CMake
7 lines
240 B
CMake
if(NOT EXISTS ${outfile})
|
|
set(RunCMake_TEST_FAILED "removed non-directory ${outfile}")
|
|
endif()
|
|
if(NOT EXISTS ${out}/link_file_for_test.txt)
|
|
set(RunCMake_TEST_FAILED "removed non-directory symlink ${out}/link_file_for_test.txt")
|
|
endif()
|