Qt: Fix Mac dylib not being included

This commit is contained in:
Stenzek
2024-05-14 18:48:54 +10:00
parent 18160a8e06
commit b204fd6860
5 changed files with 19 additions and 7 deletions

View File

@@ -241,6 +241,10 @@ elseif(APPLE)
endif()
endif()
# Copy shaderc into the bundle
target_sources(duckstation-qt PRIVATE "${SHADERC_LIBRARY}")
set_source_files_properties("${SHADERC_LIBRARY}" PROPERTIES MACOSX_PACKAGE_LOCATION Frameworks)
# Copy icon into the bundle
target_sources(duckstation-qt PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/DuckStation.icns")
set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/DuckStation.icns" PROPERTIES MACOSX_PACKAGE_LOCATION Resources)