Mercurial > hg > orthanc-wsi
changeset 202:94e87a7f9b70
fix cmake policy CMP0075
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 06 Jul 2020 21:35:49 +0200 |
parents | 281a8bcc9822 |
children | 029563c83ad8 |
files | Resources/CMake/OpenJpegConfiguration.cmake |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/CMake/OpenJpegConfiguration.cmake Mon Jul 06 21:28:22 2020 +0200 +++ b/Resources/CMake/OpenJpegConfiguration.cmake Mon Jul 06 21:35:49 2020 +0200 @@ -158,4 +158,7 @@ link_libraries(${OPENJPEG_LIB}) include_directories(${OPENJPEG_INCLUDE_DIR}) + + unset(CMAKE_REQUIRED_INCLUDES) + unset(CMAKE_REQUIRED_LIBRARIES) endif()