Skip to content

Commit

Permalink
🐛 Fixed missing Caelum plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
AnotherFoxGuy committed Aug 20, 2021
1 parent 0bb9e61 commit cbf0442
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ _build
build/
libangelscript_addons*.a
.idea
cmake-build-release
cmake-build-debug
cmake-build-*/
/.vs
build/
tools/l10n/tx/
Expand Down
5 changes: 5 additions & 0 deletions source/main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,11 @@ else ()
set(PLUGINS_FOLDER ".")
endif ()

if (${_PREFIX}USE_CAELUM STREQUAL "SYSTEM")
set(CFG_OGRE_PLUGIN_CAELUM "Plugin=../libCaelum.so")
set(CFG_OGRE_PLUGIN_CAELUM_D "Plugin=../libCaelum_d.so")
endif ()

configure_file(plugins.cfg.in ${RUNTIME_OUTPUT_DIRECTORY}/plugins.cfg)
configure_file(plugins_d.cfg.in ${RUNTIME_OUTPUT_DIRECTORY}/plugins_d.cfg)

Expand Down

0 comments on commit cbf0442

Please # to comment.