CMake/Tests/RunCMake/file/CREATE_LINK-noexist.cmake
2019-01-16 10:03:35 -05:00

5 lines
140 B
CMake

file(CREATE_LINK does_not_exist.txt TestLink.txt RESULT result)
if(NOT result STREQUAL "0")
message("Hard link error: ${result}")
endif()