ENH: Simplified ln command to use relative path in symlink.

This commit is contained in:
Brad King 2005-12-31 13:10:04 -05:00
parent 8489a94101
commit 2166bdfeac
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ COPY("CMakeLists.txt" "d-4/f1.txt")
COPY("CMakeLists.txt" "My Special Directory/f1.txt")
IF(UNIX)
EXEC_PROGRAM("ln" ARGS "-s \"${CMAKE_CURRENT_BINARY_DIR}/tar_dir/d1/f1.txt\" \"${CMAKE_CURRENT_BINARY_DIR}/tar_dir/d1/f2.txt\"")
EXEC_PROGRAM("ln" ARGS "-sf f1.txt \"${CMAKE_CURRENT_BINARY_DIR}/tar_dir/d1/f2.txt\"")
SET(CHECK_FILES ${CHECK_FILES} "d1/f2.txt")
ENDIF(UNIX)