Mercurial > hg > orthanc-authorization
comparison Resources/Orthanc/CMake/DownloadOrthancFramework.cmake @ 39:7387e901d30e
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 06 Jul 2020 21:32:11 +0200 |
parents | 680b1b1b9621 |
children | f6fe71ef20c1 |
comparison
equal
deleted
inserted
replaced
38:48306a34556d | 39:7387e901d30e |
---|---|
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() |