mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-11 21:17:44 +00:00
Fix build on macOS and linux
This commit is contained in:
parent
16e512f2a7
commit
d616b36e7b
6 changed files with 11 additions and 10 deletions
|
@ -70,7 +70,9 @@ else()
|
|||
endif()
|
||||
|
||||
if (APPLE)
|
||||
set(MACOSX_ICON "../../dist/citra.icns")
|
||||
if (EXISTS "../../dist/yuzu.icns")
|
||||
set(MACOSX_ICON "../../dist/yuzu.icns")
|
||||
endif()
|
||||
set_source_files_properties(${MACOSX_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
||||
add_executable(yuzu MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS} ${MACOSX_ICON})
|
||||
set_target_properties(yuzu PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)
|
||||
|
@ -89,7 +91,7 @@ if (MSVC)
|
|||
include(CopyCitraQt5Deps)
|
||||
include(CopyCitraSDLDeps)
|
||||
include(CopyYuzuUnicornDeps)
|
||||
copy_citra_Qt5_deps(yuzu)
|
||||
copy_citra_SDL_deps(yuzu)
|
||||
copy_yuzu_Qt5_deps(yuzu)
|
||||
copy_yuzu_SDL_deps(yuzu)
|
||||
copy_yuzu_unicorn_deps(yuzu)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue