mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
the global config path is not always $prefix/etc, so just define the whole path in the build system
This commit is contained in:
parent
f46da271d7
commit
41094a8641
2 changed files with 8 additions and 3 deletions
|
@ -69,7 +69,7 @@ boost::filesystem::path LinuxPath::getCachePath() const
|
|||
|
||||
boost::filesystem::path LinuxPath::getGlobalConfigPath() const
|
||||
{
|
||||
boost::filesystem::path globalPath(INSTALL_PREFIX "/etc/");
|
||||
boost::filesystem::path globalPath(GLOBAL_CONFIG_PATH);
|
||||
return globalPath / mName;
|
||||
}
|
||||
|
||||
|
@ -80,7 +80,7 @@ boost::filesystem::path LinuxPath::getLocalPath() const
|
|||
|
||||
boost::filesystem::path LinuxPath::getGlobalDataPath() const
|
||||
{
|
||||
boost::filesystem::path globalDataPath(INSTALL_PREFIX "/share/games/");
|
||||
boost::filesystem::path globalDataPath(GLOBAL_DATA_PATH);
|
||||
return globalDataPath / mName;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue