diff CMakeLists.txt @ 3624:b53cab5bad84

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 24 Jan 2020 18:09:56 +0100
parents a6bfa09df8b3
children d5cf43519a49
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()