diff 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
line wrap: on
line diff
--- 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()