summaryrefslogtreecommitdiff
path: root/src/yuzu
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2018-01-13 22:14:04 +0000
committerMerryMage <MerryMage@users.noreply.github.com>2018-01-13 22:38:52 +0000
commite86bdb16019be278974fcab75255ae37cc600747 (patch)
treee1e8628e276bd3c5044278e495da67236b0d765d /src/yuzu
parentf95789a0b3f881a17d854534244ad380389d0cb1 (diff)
Fix build on macOS and linux
Diffstat (limited to 'src/yuzu')
-rw-r--r--src/yuzu/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt
index 95d521706..1ec6abbb4 100644
--- a/src/yuzu/CMakeLists.txt
+++ b/src/yuzu/CMakeLists.txt
@@ -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()