Mercurial > hg > orthanc
comparison CMakeLists.txt @ 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 | 70398cc7aa15 |
children | bce6ee64f2a4 cc6d4edfe8fe |
comparison
equal
deleted
inserted
replaced
3632:139730fe3078 | 3633:5295a49dd78a |
---|---|
494 -DALLOW_DOWNLOADS=${ALLOW_DOWNLOADS} | 494 -DALLOW_DOWNLOADS=${ALLOW_DOWNLOADS} |
495 -DUSE_LEGACY_JSONCPP=${USE_LEGACY_JSONCPP} | 495 -DUSE_LEGACY_JSONCPP=${USE_LEGACY_JSONCPP} |
496 ${Flags} | 496 ${Flags} |
497 ) | 497 ) |
498 | 498 |
499 if (DEFINED RUNTIME_OUTPUT_DIRECTORY) | |
500 set(Target ${RUNTIME_OUTPUT_DIRECTORY}) | |
501 else() | |
502 set(Target ${CMAKE_CURRENT_BINARY_DIR}) | |
503 endif() | |
504 | |
505 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") | 499 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") |
506 if (MSVC) | 500 if (MSVC) |
507 set(Prefix "") | 501 set(Prefix "") |
508 else() | 502 else() |
509 set(Prefix "lib") # MinGW | 503 set(Prefix "lib") # MinGW |
510 endif() | 504 endif() |
511 | 505 |
512 install(FILES | 506 install(FILES |
513 ${Target}/${Prefix}ConnectivityChecks.dll | 507 ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}ConnectivityChecks.dll |
514 DESTINATION "lib") | 508 DESTINATION "lib") |
515 else() | 509 else() |
516 list(GET CMAKE_FIND_LIBRARY_PREFIXES 0 Prefix) | 510 list(GET CMAKE_FIND_LIBRARY_PREFIXES 0 Prefix) |
517 list(GET CMAKE_FIND_LIBRARY_SUFFIXES 0 Suffix) | 511 list(GET CMAKE_FIND_LIBRARY_SUFFIXES 0 Suffix) |
518 install(FILES | 512 install(FILES |
519 ${Target}/${Prefix}ConnectivityChecks${Suffix} | 513 ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}ConnectivityChecks${Suffix} |
520 ${Target}/${Prefix}ConnectivityChecks${Suffix}.${ORTHANC_VERSION} | 514 ${CMAKE_CURRENT_BINARY_DIR}/${Prefix}ConnectivityChecks${Suffix}.${ORTHANC_VERSION} |
521 DESTINATION "share/orthanc/plugins") | 515 DESTINATION "share/orthanc/plugins") |
522 endif() | 516 endif() |
523 endif() | 517 endif() |
524 | 518 |
525 | 519 |