Closed rpaciorek closed 2 years ago
add FindOGRE to cmake build (Ogre2 don't install cmake config file)
this is a Ogre-Next bug, that should not be fixed here. Please drop this.
add FindOGRE to cmake build (Ogre2 don't install cmake config file)
this is a Ogre-Next bug, that should not be fixed here. Please drop this.
Maybe bug, maybe not bug – providing specific config file for external build system is nice, but not obligatory.
If you don't want FindOGRE.cmake
in this project repo (IMHO convenient for users), maybe use find_package(OGRE OPTIONAL_COMPONENTS Bites)
instead of find_package(OGRE OPTIONAL_COMPONENTS Bites CONFIG)
then it's possible use FindOGRE.cmake
provided by Ogre-next by -DCMAKE_MODULE_PATH=/usr/local/lib/OGRE/cmake/
Ogre::SceneManager*
toOgreOggListener
(in Ogre2-only part) - constructor of MovableObject in Ogre2 need SceneManager