comparison 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
comparison
equal deleted inserted replaced
3623:a6bfa09df8b3 3624:b53cab5bad84
501 else() 501 else()
502 set(Prefix "lib") # MinGW 502 set(Prefix "lib") # MinGW
503 endif() 503 endif()
504 504
505 install(FILES 505 install(FILES
506 ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}OrthancChecks.dll 506 ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${Prefix}ConnectivityChecks.dll
507 DESTINATION "lib") 507 DESTINATION "lib")
508 else() 508 else()
509 list(GET CMAKE_FIND_LIBRARY_PREFIXES 0 Prefix) 509 list(GET CMAKE_FIND_LIBRARY_PREFIXES 0 Prefix)
510 list(GET CMAKE_FIND_LIBRARY_SUFFIXES 0 Suffix) 510 list(GET CMAKE_FIND_LIBRARY_SUFFIXES 0 Suffix)
511 install(FILES 511 install(FILES
512 ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}OrthancChecks${Suffix} 512 ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}ConnectivityChecks${Suffix}
513 ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}OrthancChecks${Suffix}.${ORTHANC_VERSION} 513 ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}ConnectivityChecks${Suffix}.${ORTHANC_VERSION}
514 DESTINATION "share/orthanc/plugins") 514 DESTINATION "share/orthanc/plugins")
515 endif() 515 endif()
516 endif() 516 endif()
517 517
518 518