diff options
| author | Marc Jeanmougin <marcjeanmougin@free.fr> | 2018-01-11 11:10:29 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2018-01-11 11:10:29 +0000 |
| commit | a52d14ab89c335746bb9ec96080d72caacd8d813 (patch) | |
| tree | 8218ca4a636266214b9b21f63ef84afe4b9ca38a /src | |
| parent | Merge branch 'escapefontspec' of gitlab.com:darktrojan/inkscape (diff) | |
| parent | Do not install static libraries (diff) | |
| download | inkscape-a52d14ab89c335746bb9ec96080d72caacd8d813.tar.gz inkscape-a52d14ab89c335746bb9ec96080d72caacd8d813.zip | |
Merge branch 'static_libs' of gitlab.com:Ede123/inkscape
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index de5419de8..342691151 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -559,19 +559,20 @@ target_link_libraries(inkview inkscape_base) #Define the installation if(NOT WIN32) install(TARGETS - inkscape_base inkscape inkview - RUNTIME DESTINATION bin - LIBRARY DESTINATION lib/inkscape - ARCHIVE DESTINATION lib/inkscape) + RUNTIME DESTINATION bin) + if(BUILD_SHARED_LIBS) + install(TARGETS inkscape_base LIBRARY DESTINATION lib/inkscape) + endif() else() install(TARGETS - inkscape_base inkscape inkscape_com inkview inkview_com - RUNTIME DESTINATION . - ARCHIVE DESTINATION .) + RUNTIME DESTINATION .) + if(BUILD_SHARED_LIBS) + install(TARGETS inkscape_base RUNTIME DESTINATION .) + endif() endif() |
