summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/HelperMacros.cmake
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2016-05-02 19:36:16 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2016-05-02 19:36:16 +0000
commit04c19d5757c9ba12a871046dac340b5bd967f973 (patch)
treea244c75fa2153c2287987d865ad3933c7b78a6b0 /CMakeScripts/HelperMacros.cmake
parentMerge ~meberl/inkscape/extension-fixes + CMake build: install libs and links ... (diff)
downloadinkscape-04c19d5757c9ba12a871046dac340b5bd967f973.tar.gz
inkscape-04c19d5757c9ba12a871046dac340b5bd967f973.zip
Fix for cmake installing libs, using a subfolder for clarity when installing system-wide
(bzr r14867)
Diffstat (limited to '')
-rw-r--r--CMakeScripts/HelperMacros.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeScripts/HelperMacros.cmake b/CMakeScripts/HelperMacros.cmake
index 4577b5e72..d5e6d8536 100644
--- a/CMakeScripts/HelperMacros.cmake
+++ b/CMakeScripts/HelperMacros.cmake
@@ -34,7 +34,10 @@ macro(add_inkscape_lib
# works fine without having the includes
# listed is helpful for IDE's (QtCreator/MSVC)
inkscape_source_group("${sources}")
- install(TARGETS ${name} LIBRARY DESTINATION lib)
+ install(TARGETS ${name}
+ LIBRARY DESTINATION lib/inkscape
+ ARCHIVE DESTINATION lib/inkscape
+ )
endmacro()