at master 20 lines 1.3 kB view raw
1diff --git a/CMakeLists.txt b/CMakeLists.txt 2index f8ff3c28..b57ee337 100644 3--- a/CMakeLists.txt 4+++ b/CMakeLists.txt 5@@ -30,13 +30,13 @@ if(WIN32) 6 set(OD_BIN_PATH ${CMAKE_INSTALL_PREFIX}) 7 else() 8 # Set binary and data install locations if we want to use the installer 9- set(OD_BIN_PATH ${CMAKE_INSTALL_PREFIX}/games CACHE PATH "Absolute path to the game binary directory") 10+ set(OD_BIN_PATH ${CMAKE_INSTALL_PREFIX}/bin CACHE PATH "Absolute path to the game binary directory") 11 set(OD_DATA_PATH ${CMAKE_INSTALL_PREFIX}/share/games/${PROJECT_NAME} CACHE PATH "Absolute path to the game data directory") 12 set(OD_SHARE_PATH ${CMAKE_INSTALL_PREFIX}/share CACHE PATH "Absolute path to the shared data directory (desktop file, icons, etc.)") 13 set(OD_MAN_PATH ${OD_SHARE_PATH}/man CACHE PATH "Absolute path to the manpages directory") 14 # Set the plugins.cfg file path to a common but architecture-dependent location. 15 # Because the plugins.cfg Ogre plugins path path may vary depending on the architecture used. 16- set(OD_PLUGINS_CFG_PATH /etc/${PROJECT_NAME} CACHE PATH "Absolute path to the Ogre plugins.cfg file") 17+ set(OD_PLUGINS_CFG_PATH ${CMAKE_INSTALL_PREFIX}/etc/${PROJECT_NAME} CACHE PATH "Absolute path to the Ogre plugins.cfg file") 18 endif() 19 20 if(NOT MSVC)