cmake/Tests/RunCMake/CommandLine/E_remove_directory-symlink-file-check.cmake
2020-02-01 23:06:01 +01:00

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()