Mercurial > hg > orthanc
comparison OrthancFramework/Resources/CMake/CivetwebConfiguration.cmake @ 4109:ad528c389d15
fix cmake policy CMP0075
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 06 Jul 2020 21:34:35 +0200 |
parents | 05b8fd21089c |
children | 304842a0d152 |
comparison
equal
deleted
inserted
replaced
4108:29cb9e47681f | 4109:ad528c389d15 |
---|---|
82 if (NOT HAVE_CIVETWEB_LIB) | 82 if (NOT HAVE_CIVETWEB_LIB) |
83 message(FATAL_ERROR "Please install the libcivetweb-devel package") | 83 message(FATAL_ERROR "Please install the libcivetweb-devel package") |
84 endif() | 84 endif() |
85 | 85 |
86 link_libraries(civetweb) | 86 link_libraries(civetweb) |
87 unset(CMAKE_REQUIRED_LIBRARIES) | |
87 | 88 |
88 add_definitions( | 89 add_definitions( |
89 -DCIVETWEB_HAS_DISABLE_KEEP_ALIVE=0 | 90 -DCIVETWEB_HAS_DISABLE_KEEP_ALIVE=0 |
90 ) | 91 ) |
91 endif() | 92 endif() |