Commit 6d61f363 authored by Pino Toscano's avatar Pino Toscano

cmake: reset CMAKE_REQUIRED_INCLUDES/CMAKE_REQUIRED_LIBRARIES

(cherry picked from commit f69f4105)
parent fe8eba99
......@@ -39,6 +39,9 @@ int main()
}
" WITH_OPENJPEG_IGNORE_PCLR_CMAP_CDEF_FLAG)
set(CMAKE_REQUIRED_INCLUDES)
set(CMAKE_REQUIRED_LIBRARIES)
set(LIBOPENJPEG_FOUND TRUE)
endif(LIBOPENJPEG_INCLUDE_DIR AND LIBOPENJPEG_LIBRARIES)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment