Mercurial > hg > orthanc-transfers
changeset 27:8f3137dc55c1
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 06 Jul 2020 21:33:11 +0200 |
parents | ea0017a63fe4 |
children | b7e32fe4973b |
files | Resources/Orthanc/CMake/DownloadOrthancFramework.cmake |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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()