Mercurial > hg > orthanc
changeset 3633:5295a49dd78a
removing not working tricks for ConnectivityChecks plugin
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 28 Jan 2020 17:25:36 +0100 |
parents | 139730fe3078 |
children | 103ee029982e 94f4a18a79cc |
files | CMakeLists.txt |
diffstat | 1 files changed, 3 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/CMakeLists.txt Mon Jan 27 15:24:11 2020 +0100 +++ b/CMakeLists.txt Tue Jan 28 17:25:36 2020 +0100 @@ -496,12 +496,6 @@ ${Flags} ) - if (DEFINED RUNTIME_OUTPUT_DIRECTORY) - set(Target ${RUNTIME_OUTPUT_DIRECTORY}) - else() - set(Target ${CMAKE_CURRENT_BINARY_DIR}) - endif() - if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") if (MSVC) set(Prefix "") @@ -510,14 +504,14 @@ endif() install(FILES - ${Target}/${Prefix}ConnectivityChecks.dll + ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}ConnectivityChecks.dll DESTINATION "lib") else() list(GET CMAKE_FIND_LIBRARY_PREFIXES 0 Prefix) list(GET CMAKE_FIND_LIBRARY_SUFFIXES 0 Suffix) install(FILES - ${Target}/${Prefix}ConnectivityChecks${Suffix} - ${Target}/${Prefix}ConnectivityChecks${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()