Depending on the version of cmake, it may not be possible to search for GLEW, which is a submodule. This phenomenon may occur on macOS.
There seems to be a problem with FindGLEW.cmake provided by Cmake. In order to independently search for GLEW at a unique location, I decided to simply add and use FindGLEW.cmake. In my environment, this allows me to explore GLEW for submodules.
Depending on the version of cmake, it may not be possible to search for GLEW, which is a submodule. This phenomenon may occur on macOS.
There seems to be a problem with FindGLEW.cmake provided by Cmake. In order to independently search for GLEW at a unique location, I decided to simply add and use FindGLEW.cmake. In my environment, this allows me to explore GLEW for submodules.
Cmake version 3.27.1 (install by homebrew)
this pull request includes https://github.com/EvolutionGym/evogym/pull/30 commits (for passing ci tests)