From 04c19d5757c9ba12a871046dac340b5bd967f973 Mon Sep 17 00:00:00 2001 From: Marc Jeanmougin Date: Mon, 2 May 2016 21:36:16 +0200 Subject: Fix for cmake installing libs, using a subfolder for clarity when installing system-wide (bzr r14867) --- CMakeScripts/HelperMacros.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'CMakeScripts/HelperMacros.cmake') 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() -- cgit v1.2.3