mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
cmake: Use GNUInstalldirs
This commit is contained in:
parent
c52d447381
commit
59f253ba24
4 changed files with 24 additions and 11 deletions
|
@ -518,7 +518,10 @@ void gui_application::OnChangeStyleSheetRequest()
|
|||
locs << m_gui_settings->GetSettingsDir();
|
||||
|
||||
#if !defined(_WIN32)
|
||||
#ifdef __APPLE__
|
||||
#if defined(DATADIR)
|
||||
const QString dataPath = (DATADIR);
|
||||
locs << dataPath + "/GuiConfigs/";
|
||||
#elif defined(__APPLE__)
|
||||
locs << QCoreApplication::applicationDirPath() + "/../Resources/GuiConfigs/";
|
||||
#else
|
||||
locs << QCoreApplication::applicationDirPath() + "/../share/rpcs3/GuiConfigs/";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue