From 5f20daab880e8b496faf8a00aa3707ba3beb3b1a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 13 Jun 2011 18:35:43 +0000 Subject: cmake: fix for install target (bzr r10296) --- src/CMakeLists.txt | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index afb65f955..d048eaa87 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -599,50 +599,3 @@ target_link_libraries(inkscape #add_executable(inkview inkview.cpp) # ... - -# ----------------------------------------------------------------------------- -# Installation -# ----------------------------------------------------------------------------- - -if(UNIX) - # TODO: man, locale, icons - - # message after building. - add_custom_command( - TARGET blender POST_BUILD MAIN_DEPENDENCY blender - COMMAND ${CMAKE_COMMAND} -E echo 'now run: \"make install\" to copy runtime files & scripts to ${CMAKE_INSTALL_PREFIX}' - ) - - install( - PROGRAMS inkscape - DESTINATION ${CMAKE_INSTALL_PREFIX}/bin - ) - - install( - FILES ${CMAKE_SOURCE_DIR}/inkscape.desktop - DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications - ) - - install( - DIRECTORY - ${CMAKE_SOURCE_DIR}/share/clipart - ${CMAKE_SOURCE_DIR}/share/examples - ${CMAKE_SOURCE_DIR}/share/extensions - ${CMAKE_SOURCE_DIR}/share/filters - ${CMAKE_SOURCE_DIR}/share/fonts - ${CMAKE_SOURCE_DIR}/share/gradients - ${CMAKE_SOURCE_DIR}/share/icons - ${CMAKE_SOURCE_DIR}/share/keys - ${CMAKE_SOURCE_DIR}/share/markers - ${CMAKE_SOURCE_DIR}/share/palettes - ${CMAKE_SOURCE_DIR}/share/patterns - ${CMAKE_SOURCE_DIR}/share/screens - ${CMAKE_SOURCE_DIR}/share/templates - ${CMAKE_SOURCE_DIR}/share/tutorials - ${CMAKE_SOURCE_DIR}/share/ui - DESTINATION ${CMAKE_INSTALL_PREFIX}/share/inkscape - ) - -else() - # TODO, WIN32/APPLE -endif() -- cgit v1.2.3