Macos::glew:: cmake restriction without upper limit

Hi! I encountered an error message of the type:

-- Looking for GLEW
-- Found GLEW: /usr/local/lib/cmake/glew/glew-config.cmake  
CMake Error at cmake/modules/SearchInstalledSoftware.cmake:589 (message):
  Please enable builtin Glew due bug in latest CMake (use cmake option
  -Dbuiltin_glew=ON).
Call Stack (most recent call first):
  CMakeLists.txt:245 (include)

and i found the problem to be related to

we are using cmake v3.23.1
i seen that FindGLEW module fails to define variables if config is presented (#19662) · Issues · CMake / CMake · GitLab was closed quite some time ago…
is this still valid? maybe the restriction should have also an upper version?

Hi @adrian_sev ,

thank you for the ping, we probably need @bellenot to take a look (and possibly @oshadura to comment :smiley: ).

Cheers,
Enrico

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.