# HG changeset patch # User Sebastien Jodogne # Date 1594064149 -7200 # Node ID 94e87a7f9b7018e9bbe226b25fed486577533a92 # Parent 281a8bcc9822bff80c2e2358168f693a95be3152 fix cmake policy CMP0075 diff -r 281a8bcc9822 -r 94e87a7f9b70 Resources/CMake/OpenJpegConfiguration.cmake --- 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()