diff --git a/.gitignore b/.gitignore index 02a86a5967..cd607e7c5f 100644 --- a/.gitignore +++ b/.gitignore @@ -26,8 +26,7 @@ _build build/ libangelscript_addons*.a .idea -cmake-build-release -cmake-build-debug +cmake-build-*/ /.vs build/ tools/l10n/tx/ diff --git a/source/main/CMakeLists.txt b/source/main/CMakeLists.txt index 300402c22c..ae1c6b2741 100644 --- a/source/main/CMakeLists.txt +++ b/source/main/CMakeLists.txt @@ -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)