From 514cc97980e6ddc5f6a4f36631b7d002dc2cd2e0 Mon Sep 17 00:00:00 2001 From: Sssnowyyy <78863999+Sssnowyyy@users.noreply.github.com> Date: Fri, 30 Oct 2026 21:48:55 -0400 Subject: macOS: fix the build with AppleClang and use the Eglantine app icon The zbic_compression.cpp warning suppressions only matched the Clang and GNU compiler IDs, so AppleClang failed it with -Werror=unused-function. The bundle pointed at dist/eglantine.icns, which was never added after the rename (and the fallback to eden.icns shows Eden's logo); generate it from dist/Eglantine.png and use it. Assisted-by: Claude Opus 5.5 (debugging and code changes) --- src/common/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index d3e7b03cd2..76c5019788 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -152,7 +152,7 @@ add_library( set_source_files_properties(zbic_compression.cpp PROPERTIES INCLUDE_DIRECTORIES "${ZBIC_INCLUDE_DIR}" - COMPILE_OPTIONS "$<$:-Wno-unused-function;-Wno-missing-declarations;-Wno-shadow>;$<$:/wd4505;/wd5245>") + COMPILE_OPTIONS "$<$:-Wno-unused-function;-Wno-missing-declarations;-Wno-shadow>;$<$:/wd4505;/wd5245>") if(WIN32) target_sources(common PRIVATE windows/timer_resolution.cpp -- cgit v1.2.3