Qt: Do initial macOS resource staging in local app bundle

This commit is contained in:
Vicki Pfau 2023-12-11 01:50:00 -08:00
parent 7b2fe75ebf
commit ec2f791655
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,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()