diff options
Diffstat (limited to 'cmake/Modules')
-rw-r--r-- | cmake/Modules/HandleFindMarble.cmake | 2 | ||||
-rw-r--r-- | cmake/Modules/RunOnBuildDir.cmake | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cmake/Modules/HandleFindMarble.cmake b/cmake/Modules/HandleFindMarble.cmake index c812e250d..a3ca8fb48 100644 --- a/cmake/Modules/HandleFindMarble.cmake +++ b/cmake/Modules/HandleFindMarble.cmake @@ -15,7 +15,7 @@ if(NOT NO_MARBLE) set(MARBLE_LIBRARIES "") endif() endif() - add_custom_target(link_marble_data ALL COMMAND rm -rf ./marbledata && ln -s ${CMAKE_SOURCE_DIR}/marbledata ${CMAKE_BINARY_DIR}/marbledata) + add_custom_target(link_marble_data ALL COMMAND rm -rf ./marbledata && ln -sf ${CMAKE_SOURCE_DIR}/marbledata ${CMAKE_BINARY_DIR}/marbledata) else() message(STATUS "building without marble widget support") add_definitions(-DNO_MARBLE) diff --git a/cmake/Modules/RunOnBuildDir.cmake b/cmake/Modules/RunOnBuildDir.cmake index bf674be19..854578e3d 100644 --- a/cmake/Modules/RunOnBuildDir.cmake +++ b/cmake/Modules/RunOnBuildDir.cmake @@ -3,13 +3,13 @@ add_custom_target(themeLink ALL COMMAND rm -f ${CMAKE_BINARY_DIR}/theme && - ln -s ${CMAKE_SOURCE_DIR}/theme ${CMAKE_BINARY_DIR}/theme + ln -sf ${CMAKE_SOURCE_DIR}/theme ${CMAKE_BINARY_DIR}/theme ) if(NOT NO_PRINTING) add_custom_target(printing_templatesLink ALL COMMAND rm -f ${CMAKE_BINARY_DIR}/printing_templates && - ln -s ${CMAKE_SOURCE_DIR}/printing_templates ${CMAKE_BINARY_DIR}/printing_templates + ln -sf ${CMAKE_SOURCE_DIR}/printing_templates ${CMAKE_BINARY_DIR}/printing_templates ) endif() if(NOT NO_DOCS) @@ -18,7 +18,7 @@ if(NOT NO_DOCS) COMMAND mkdir -p ${CMAKE_BINARY_DIR}/Documentation/ && rm -rf ${CMAKE_BINARY_DIR}/Documentation/images && - ln -s ${CMAKE_SOURCE_DIR}/Documentation/images ${CMAKE_BINARY_DIR}/Documentation/images + ln -sf ${CMAKE_SOURCE_DIR}/Documentation/images ${CMAKE_BINARY_DIR}/Documentation/images ) add_custom_target( documentation ALL |