mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
cmake: Use GNUInstalldirs
This commit is contained in:
parent
c52d447381
commit
59f253ba24
4 changed files with 24 additions and 11 deletions
|
|
@ -116,7 +116,10 @@ namespace rsx
|
|||
if (success)
|
||||
{
|
||||
std::string executablePath = dirname(result);
|
||||
#ifdef __APPLE__
|
||||
#if defined(DATADIR)
|
||||
const std::string dataPath (DATADIR);
|
||||
src = dataPath + "/Icons/ui/" + res;
|
||||
#elif defined(__APPLE__)
|
||||
src = executablePath + "/../Resources/Icons/ui/" + res;
|
||||
#else
|
||||
src = executablePath + "/../share/rpcs3/Icons/ui/" + res;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue