changeset 4109:ad528c389d15

fix cmake policy CMP0075
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 06 Jul 2020 21:34:35 +0200
parents 29cb9e47681f
children d99739cbe94c
files OrthancFramework/Resources/CMake/CivetwebConfiguration.cmake
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Resources/CMake/CivetwebConfiguration.cmake	Mon Jul 06 21:10:13 2020 +0200
+++ b/OrthancFramework/Resources/CMake/CivetwebConfiguration.cmake	Mon Jul 06 21:34:35 2020 +0200
@@ -84,6 +84,7 @@
   endif()
 
   link_libraries(civetweb)
+  unset(CMAKE_REQUIRED_LIBRARIES)
 
   add_definitions(
     -DCIVETWEB_HAS_DISABLE_KEEP_ALIVE=0