diff --git a/kmymoney2/CMakeLists.txt b/kmymoney2/CMakeLists.txt index 16173e2..0281e08 100644 --- a/kmymoney2/CMakeLists.txt +++ b/kmymoney2/CMakeLists.txt @@ -66,20 +66,7 @@ tde_add_executable( kmymoney2 AUTOMOC DESTINATION ${BIN_INSTALL_DIR} ) -add_custom_command( - OUTPUT kmymoney - COMMENT "Creating kmymoney symlink" - COMMAND ln -s kmymoney2 kmymoney - DEPENDS kmymoney2 -) -add_custom_target( kmymoney-symlink ALL - DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/kmymoney -) - -install( - FILES ${CMAKE_CURRENT_BINARY_DIR}/kmymoney - DESTINATION ${BIN_INSTALL_DIR} -) +tde_install_symlink( kmymoney2 ${BIN_INSTALL_DIR}/kmymoney ) ##### kmymoneytest (test) #######################