# HG changeset patch # User Sebastien Jodogne # Date 1594063991 -7200 # Node ID 8f3137dc55c1a43d783fbb70ca4de4dfd63e5ed5 # Parent ea0017a63fe496f6d3fd590e2798e6ae644fde62 sync diff -r ea0017a63fe4 -r 8f3137dc55c1 Resources/Orthanc/CMake/DownloadOrthancFramework.cmake --- a/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake Mon Jul 06 17:25:42 2020 +0200 +++ b/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake Mon Jul 06 21:33: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()