Mercurial > hg > orthanc-wsi
comparison Resources/Orthanc/CMake/DownloadOrthancFramework.cmake @ 201:281a8bcc9822
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 06 Jul 2020 21:28:22 +0200 |
parents | e5964793a790 |
children | 029563c83ad8 |
comparison
equal
deleted
inserted
replaced
200:e99947a7e3c8 | 201:281a8bcc9822 |
---|---|
524 check_cxx_symbol_exists("Orthanc::InitializeFramework" "OrthancFramework.h" HAVE_ORTHANC_FRAMEWORK) | 524 check_cxx_symbol_exists("Orthanc::InitializeFramework" "OrthancFramework.h" HAVE_ORTHANC_FRAMEWORK) |
525 if (NOT HAVE_ORTHANC_FRAMEWORK) | 525 if (NOT HAVE_ORTHANC_FRAMEWORK) |
526 message(FATAL_ERROR "Cannot find the Orthanc framework") | 526 message(FATAL_ERROR "Cannot find the Orthanc framework") |
527 endif() | 527 endif() |
528 | 528 |
529 unset(CMAKE_REQUIRED_INCLUDES) | |
530 unset(CMAKE_REQUIRED_LIBRARIES) | |
531 | |
529 if (NOT "${ORTHANC_FRAMEWORK_ROOT}" STREQUAL "") | 532 if (NOT "${ORTHANC_FRAMEWORK_ROOT}" STREQUAL "") |
530 include_directories(${ORTHANC_FRAMEWORK_ROOT}) | 533 include_directories(${ORTHANC_FRAMEWORK_ROOT}) |
531 endif() | 534 endif() |
532 endif() | 535 endif() |