[macos 10.14] OpenGL is deprecated
Summary
Since macos 10.14 (Mojave) OpenGl is deprecated. This produce some warnings in our sight code (in fwRenderOgre for instance).
But the flag -Werror
is also enabled on ogre in sight, this cause compilation error.
Steps to reproduce
Compile fwRenderOgre on macos 10.14 (Mojave)
What is the current bug behavior?
Compilation error.
What is the expected correct behavior?
We should silent those warnings.
Possible fixes
adding a
target_compile_options(${PROJECT_NAME} private "-Wno-deprecated-declarations")
in the CMakeLists.txt
of fwRenderOgre should fix the problem.