mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06: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()
|