OGRECave / ogre-audiovideo

plugins for theora video playback and openAL audio
https://ogrecave.github.io/ogre-audiovideo/
BSD 3-Clause "New" or "Revised" License
14 stars 11 forks source link

fix build with Ogre2 #38

Closed rpaciorek closed 2 years ago

rpaciorek commented 2 years ago
paroj commented 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.

rpaciorek commented 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.

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/