summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2016-05-02 19:08:15 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2016-05-02 19:08:15 +0000
commiteb5847cd8a8460b123b33f07c9270a1b5e3b114c (patch)
tree42a8fd6854e8c5f10d10fbb90d0231a858306722 /src/CMakeLists.txt
parentTranslations. Italian translation update. (diff)
parentFixed "make install" to set the right rpath. libinkscape_base.so should now b... (diff)
downloadinkscape-eb5847cd8a8460b123b33f07c9270a1b5e3b114c.tar.gz
inkscape-eb5847cd8a8460b123b33f07c9270a1b5e3b114c.zip
Merge ~meberl/inkscape/extension-fixes + CMake build: install libs and links installed bin to installed libs.
(bzr r14866)
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e44eb757d..4d57a59c1 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -558,6 +558,8 @@ if (NOT "${WITH_EXT_GDL}")
endif()
+
+
# Link the inkscape_base library against all external dependencies
target_link_libraries(inkscape_base ${INKSCAPE_TARGET_LIBS})
@@ -565,3 +567,11 @@ target_link_libraries(inkscape_base ${INKSCAPE_TARGET_LIBS})
target_link_libraries(inkscape inkscape_base )
target_link_libraries(inkview inkscape_base)
+#Define the installation
+install(
+ TARGETS inkscape_base inkscape inkview
+ RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib
+ )
+
+