File cmake.diff of Package orthanc

# HG changeset patch
# User Alain Mazy <am@osimis.io>
# Date 1665994164 -7200
# Node ID 3b1ae7a81d9b25136e21bced48410b7ebeb5c2df
# Parent  c94c1e08340e0a6c7c51a9928a263eb7a314ed4b
fix install steps for ConnectivityChecks and DelayedDeletion plugins

diff -r c94c1e08340e -r 3b1ae7a81d9b OrthancServer/CMakeLists.txt
--- a/OrthancServer/CMakeLists.txt	Mon Oct 10 10:27:09 2022 +0200
+++ b/OrthancServer/CMakeLists.txt	Mon Oct 17 10:09:24 2022 +0200
@@ -609,8 +609,8 @@
     list(GET CMAKE_FIND_LIBRARY_PREFIXES 0 Prefix)
     list(GET CMAKE_FIND_LIBRARY_SUFFIXES 0 Suffix)
     install(FILES
-      ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}ConnectivityChecks${Suffix}
-      ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}ConnectivityChecks${Suffix}.${ORTHANC_VERSION}
+      ${CMAKE_CURRENT_BINARY_DIR}/ConnectivityChecks-build/${Prefix}ConnectivityChecks${Suffix}
+      ${CMAKE_CURRENT_BINARY_DIR}/ConnectivityChecks-build/${Prefix}ConnectivityChecks${Suffix}.${ORTHANC_VERSION}
       DESTINATION "share/orthanc/plugins")
   endif()
 endif()
@@ -682,8 +682,8 @@
     list(GET CMAKE_FIND_LIBRARY_PREFIXES 0 Prefix)
     list(GET CMAKE_FIND_LIBRARY_SUFFIXES 0 Suffix)
     install(FILES
-      ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}DelayedDeletion${Suffix}
-      ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}DelayedDeletion${Suffix}.${ORTHANC_VERSION}
+      ${CMAKE_CURRENT_BINARY_DIR}/DelayedDeletion-build/${Prefix}DelayedDeletion${Suffix}
+      ${CMAKE_CURRENT_BINARY_DIR}/DelayedDeletion-build/${Prefix}DelayedDeletion${Suffix}.${ORTHANC_VERSION}
       DESTINATION "share/orthanc/plugins")
   endif()
 endif()
openSUSE Build Service is sponsored by