The whole error is
CMake Error at cmake/modules/SearchInstalledSoftware.cmake:571 (message):
Please enable builtin Glew due bug in latest CMake (use cmake option
-Dbuiltin_glew=ON).
Call Stack (most recent call first):
CMakeLists.txt:219 (include)