Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

MacOS fix compilation errors and correct app icon and title (#202)

Maufeat59e69d91f445
diff --git a/CMakeLists.txt b/CMakeLists.txt
index beb254354b..c0c777bed6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -512,6 +512,8 @@ if (APPLE)
# Umbrella framework for everything GUI-related
find_library(COCOA_LIBRARY Cocoa)
set(PLATFORM_LIBRARIES ${COCOA_LIBRARY} ${IOKIT_LIBRARY} ${COREVIDEO_LIBRARY})
+ find_library(ICONV_LIBRARY iconv REQUIRED)
+ list(APPEND PLATFORM_LIBRARIES ${ICONV_LIBRARY})
elseif (WIN32)
# Target Windows 10
add_definitions(-D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00)
diff --git a/dist/eden.icns b/dist/eden.icns
new file mode 100644
index 0000000000..3e27471e4b
Binary files /dev/null and b/dist/eden.icns differ
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt
index b6161a0cdb..0dc6f562b8 100644
--- a/src/yuzu/CMakeLists.txt
+++ b/src/yuzu/CMakeLists.txt
@@ -366,7 +366,7 @@ target_sources(yuzu
)
if (APPLE)
- set(MACOSX_ICON "../../dist/yuzu.icns")
+ set(MACOSX_ICON "../../dist/eden.icns")
set_source_files_properties(${MACOSX_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
target_sources(yuzu PRIVATE ${MACOSX_ICON})
set_target_properties(yuzu PROPERTIES MACOSX_BUNDLE TRUE)
@@ -374,7 +374,7 @@ if (APPLE)
if (NOT USE_SYSTEM_MOLTENVK)
set(MOLTENVK_PLATFORM "macOS")
- set(MOLTENVK_VERSION "v1.2.7")
+ set(MOLTENVK_VERSION "v1.3.0")
download_moltenvk_external(${MOLTENVK_PLATFORM} ${MOLTENVK_VERSION})
endif()
find_library(MOLTENVK_LIBRARY MoltenVK REQUIRED)
diff --git a/src/yuzu/Info.plist b/src/yuzu/Info.plist
index f05f3186c7..96096c84d1 100644
--- a/src/yuzu/Info.plist
+++ b/src/yuzu/Info.plist
@@ -1,3 +1,8 @@
+<!--
+SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
+SPDX-License-Identifier: GPL-3.0-or-later
+-->
+
<?xml version="1.0" encoding="UTF-8"?>
<!--
@@ -15,7 +20,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
<key>CFBundleGetInfoString</key>
<string></string>
<key>CFBundleIconFile</key>
- <string>yuzu.icns</string>
+ <string>eden.icns</string>
<key>CFBundleIdentifier</key>
<string>com.yuzu-emu.yuzu</string>
<key>CFBundleInfoDictionaryVersion</key>
@@ -23,7 +28,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
<key>CFBundleLongVersionString</key>
<string></string>
<key>CFBundleName</key>
- <string>yuzu</string>
+ <string>eden</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>