FindGLEW: does not set GLEW_INCLUDE_DIRS in some cases
As discussed in some detail here - https://discourse.cmake.org/t/the-findglew-cmake-module-does-not-set-glew-libraries-in-some-cases/989 - if find_package(GLEW CONFIG QUIET)
succeeds, then GLEW_INCLUDE_DIRS
, and the GLEW_VERSION_XXXX
variable are NOT set.
This feels like a bug.
I made some attempt to extract such information from the GLEW::GLEW
or GLEW::glew
, targets that are set, but did not succeed... maybe there is a way...
It is important that I be able to do something like include_directories( ${GLEW_INCLUDE_DIRS} )
, so the app can find the GLEW headers...
Any help appreciated... thanks...