comparison Resources/Orthanc/CMake/DownloadOrthancFramework.cmake @ 27:8f3137dc55c1

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 06 Jul 2020 21:33:11 +0200
parents 065bc476bcdc
children b7e32fe4973b
comparison
equal deleted inserted replaced
26:ea0017a63fe4 27:8f3137dc55c1
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()