diff --git a/CMakeLists.txt b/CMakeLists.txt index b5dcdbb47..faa03d814 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -257,7 +257,7 @@ configure_file(${OpenMW_SOURCE_DIR}/files/plugins.cfg.win32 "${OpenMW_BINARY_DIR}/plugins.cfg" COPYONLY) else (WIN32) configure_file(${OpenMW_SOURCE_DIR}/files/plugins.cfg.linux - "${OpenMW_BINARY_DIR}/plugins.cfg" COPYONLY) + "${OpenMW_BINARY_DIR}/plugins.cfg") endif (WIN32) configure_file(${OpenMW_SOURCE_DIR}/files/openmw.cfg diff --git a/files/plugins.cfg.linux b/files/plugins.cfg.linux index 57ec54e1a..59d456be7 100644 --- a/files/plugins.cfg.linux +++ b/files/plugins.cfg.linux @@ -1,7 +1,7 @@ # Defines plugins to load # Define plugin folder -PluginFolder=/usr/local/lib/OGRE/ +PluginFolder=${OGRE_LIB_DIR} # Define plugins Plugin=RenderSystem_GL