summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMoritz Eberl <moritz@semiodesk.com>2016-04-27 07:54:17 +0000
committerMoritz Eberl <moritz@semiodesk.com>2016-04-27 07:54:17 +0000
commitf5d66a6633e96b5c847127c75c1691630fe13c95 (patch)
tree105e531799704ec7b5aacc42c42ca89ad8d27034 /src
parentFixed path resolution in plugin loader. (diff)
downloadinkscape-f5d66a6633e96b5c847127c75c1691630fe13c95.tar.gz
inkscape-f5d66a6633e96b5c847127c75c1691630fe13c95.zip
Fixed "make install" to set the right rpath. libinkscape_base.so should now be found correctly.
(bzr r14862.1.2)
Diffstat (limited to 'src')
-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..594464172 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
+)
+
+