New version and additional specfile cleanup. No info about multibuild from ML, wiki or schwab@suse.de for more than a week. I do not consider this as path forward, as it adds complexity as well, compared to modular approach. OBS-URL: https://build.opensuse.org/request/show/740978 OBS-URL: https://build.opensuse.org/package/show/graphics/orthanc?expand=0&rev=1
37 lines
1000 B
Diff
37 lines
1000 B
Diff
--- CMakeLists.txt.orig 2018-09-20 17:32:11.538015844 +0200
|
|
+++ CMakeLists.txt 2018-09-20 17:33:08.413928827 +0200
|
|
@@ -361,11 +361,11 @@
|
|
SOVERSION ${ORTHANC_VERSION}
|
|
)
|
|
|
|
- install(
|
|
- TARGETS ServeFolders
|
|
- RUNTIME DESTINATION lib # Destination for Windows
|
|
- LIBRARY DESTINATION share/orthanc/plugins # Destination for Linux
|
|
- )
|
|
+ if (${CMAKE_SIZEOF_VOID_P} EQUAL 4)
|
|
+ install(TARGETS ServeFolders LIBRARY DESTINATION lib)
|
|
+ else()
|
|
+ install(TARGETS ServeFolders LIBRARY DESTINATION lib64)
|
|
+ endif()
|
|
endif()
|
|
|
|
|
|
@@ -406,11 +406,11 @@
|
|
SOVERSION ${ORTHANC_VERSION}
|
|
)
|
|
|
|
- install(
|
|
- TARGETS ModalityWorklists
|
|
- RUNTIME DESTINATION lib # Destination for Windows
|
|
- LIBRARY DESTINATION share/orthanc/plugins # Destination for Linux
|
|
- )
|
|
+ if (${CMAKE_SIZEOF_VOID_P} EQUAL 4)
|
|
+ install(TARGETS ModalityWorklists LIBRARY DESTINATION lib)
|
|
+ else()
|
|
+ install(TARGETS ModalityWorklists LIBRARY DESTINATION lib64)
|
|
+ endif()
|
|
endif()
|
|
|
|
|