cmake/Tests/RunCMake/file/CREATE_LINK-SYMBOLIC-noexist.cmake

5 lines
161 B
CMake
Raw Normal View History

2019-11-11 23:01:05 +01:00
file(CREATE_LINK does_not_exist.txt TestSymLink.txt RESULT sym_result SYMBOLIC)
if(NOT sym_result STREQUAL "0")
message("Symlink fail: ${sym_result}")
endif()