changeset 3624:b53cab5bad84

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 24 Jan 2020 18:09:56 +0100
parents a6bfa09df8b3
children d5cf43519a49
files CMakeLists.txt Plugins/Samples/ConnectivityChecks/CMakeLists.txt
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Fri Jan 24 17:37:14 2020 +0100
+++ b/CMakeLists.txt	Fri Jan 24 18:09:56 2020 +0100
@@ -503,14 +503,14 @@
     endif()
 
     install(FILES
-      ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}OrthancChecks.dll
+      ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${Prefix}ConnectivityChecks.dll
       DESTINATION "lib")
   else()
     list(GET CMAKE_FIND_LIBRARY_PREFIXES 0 Prefix)
     list(GET CMAKE_FIND_LIBRARY_SUFFIXES 0 Suffix)
     install(FILES
-      ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}OrthancChecks${Suffix}
-      ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}OrthancChecks${Suffix}.${ORTHANC_VERSION}
+      ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}ConnectivityChecks${Suffix}
+      ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}ConnectivityChecks${Suffix}.${ORTHANC_VERSION}
       DESTINATION "share/orthanc/plugins")
   endif()
 endif()
--- a/Plugins/Samples/ConnectivityChecks/CMakeLists.txt	Fri Jan 24 17:37:14 2020 +0100
+++ b/Plugins/Samples/ConnectivityChecks/CMakeLists.txt	Fri Jan 24 18:09:56 2020 +0100
@@ -42,7 +42,7 @@
   ${ORTHANC_ROOT}/Plugins/Include/
   )
 
-add_library(OrthancChecks SHARED
+add_library(ConnectivityChecks SHARED
   ${ADDITIONAL_RESOURCES}
   ${AUTOGENERATED_SOURCES}
   ${ORTHANC_CORE_SOURCES_DEPENDENCIES}
@@ -54,12 +54,12 @@
   )
 
 set_target_properties(
-  OrthancChecks PROPERTIES 
+  ConnectivityChecks PROPERTIES 
   VERSION ${PLUGIN_VERSION} 
   SOVERSION ${PLUGIN_VERSION}
   )
 
 install(
-  TARGETS OrthancChecks
+  TARGETS ConnectivityChecks
   DESTINATION .
   )