[Windows] PATH_LIB_GLFW not found, but found
On windows with CMake-gui, at the first "configure" with the flags REAL TIME ON, JAVA OFF and OPEN GL ON, I get the following error:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: PATH_LIB_GLFW
However the variable is set and correct. If I "generate" (or "configure" again) the process end without any error.
The error is at this line in the CMakeLists of mbs_realtime. At this point of the CMakeLists we do not know where is the library.
Later, the problem is solved in the openGL CMakeLists where the function
open_gl_lib is called again.
Question: why do we call the function
open_gl_lib two times? Could we keep the last call?