summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/HelperMacros.cmake
diff options
context:
space:
mode:
authorMichael Soegtrop <MSoegtrop@yahoo.de>2017-06-05 13:01:17 +0000
committerMichael Soegtrop <MSoegtrop@yahoo.de>2017-06-05 13:01:17 +0000
commite7248b2fa042f42a5c4dd14cd86ab6a5b4524059 (patch)
tree9097520c54e355ded9bd0b4d6618af4e8dacdd91 /CMakeScripts/HelperMacros.cmake
parentupdated to latest trunk (diff)
parent[Bug #1695016] Xaml export misses some radialGradients. (diff)
downloadinkscape-e7248b2fa042f42a5c4dd14cd86ab6a5b4524059.tar.gz
inkscape-e7248b2fa042f42a5c4dd14cd86ab6a5b4524059.zip
updated to latest trunk
(bzr r14876.2.4)
Diffstat (limited to 'CMakeScripts/HelperMacros.cmake')
-rw-r--r--CMakeScripts/HelperMacros.cmake13
1 files changed, 9 insertions, 4 deletions
diff --git a/CMakeScripts/HelperMacros.cmake b/CMakeScripts/HelperMacros.cmake
index d5e6d8536..a0bdd9866 100644
--- a/CMakeScripts/HelperMacros.cmake
+++ b/CMakeScripts/HelperMacros.cmake
@@ -34,10 +34,15 @@ 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/inkscape
- ARCHIVE DESTINATION lib/inkscape
- )
+
+ # static libraries are probably not useful on Windows
+ # (if we ever build shared libraries those would use the RUNTIME target and we might have to revisit this)
+ if(NOT WIN32)
+ install(TARGETS ${name}
+ LIBRARY DESTINATION lib/inkscape
+ ARCHIVE DESTINATION lib/inkscape
+ )
+ endif()
endmacro()