# HG changeset patch # User Sebastien Jodogne # Date 1594063931 -7200 # Node ID 7387e901d30e2a84ae5260434d89b0d9d45d5728 # Parent 48306a34556d74551f6b3d0d259a3bf8aa9abe5b sync diff -r 48306a34556d -r 7387e901d30e Resources/Orthanc/CMake/DownloadOrthancFramework.cmake --- a/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake Mon Jul 06 17:25:24 2020 +0200 +++ b/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake Mon Jul 06 21:32:11 2020 +0200 @@ -526,6 +526,9 @@ message(FATAL_ERROR "Cannot find the Orthanc framework") endif() + unset(CMAKE_REQUIRED_INCLUDES) + unset(CMAKE_REQUIRED_LIBRARIES) + if (NOT "${ORTHANC_FRAMEWORK_ROOT}" STREQUAL "") include_directories(${ORTHANC_FRAMEWORK_ROOT}) endif()