mirror of https://github.com/mgba-emu/mgba.git
Qt: Do initial macOS resource staging in local app bundle
This commit is contained in:
parent
7b2fe75ebf
commit
ec2f791655
|
@ -323,7 +323,7 @@ if(WIN32)
|
||||||
endif()
|
endif()
|
||||||
if(NOT DEFINED DATADIR)
|
if(NOT DEFINED DATADIR)
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
set(DATADIR ${APPDIR}/${PROJECT_NAME}.app/Contents/Resources)
|
set(DATADIR ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.app/Contents/Resources)
|
||||||
elseif(WIN32 AND NOT WIN32_UNIX_PATHS)
|
elseif(WIN32 AND NOT WIN32_UNIX_PATHS)
|
||||||
set(DATADIR ".")
|
set(DATADIR ".")
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in New Issue