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
3c5caf7c53
commit
7be38eaed5
|
@ -303,7 +303,7 @@ if(WIN32)
|
|||
endif()
|
||||
if(NOT DEFINED DATADIR)
|
||||
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)
|
||||
set(DATADIR ".")
|
||||
else()
|
||||
|
|
Loading…
Reference in New Issue