aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorSssnowyyy <78863999+Sssnowyyy@users.noreply.github.com>2026-10-30 21:48:55 -0400
committerSssnowyyy <78863999+Sssnowyyy@users.noreply.github.com>2026-10-31 18:16:44 -0400
commit514cc97980e6ddc5f6a4f36631b7d002dc2cd2e0 (patch)
tree52fb473cc96a5b6a3aa70a8856bc6eb1b3461442 /src/common
parentb48afba6d34df2c820e7d51e526bf8df73301437 (diff)
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)
Diffstat (limited to 'src/common')
-rw-r--r--src/common/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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 "$<$<CXX_COMPILER_ID:Clang,GNU>:-Wno-unused-function;-Wno-missing-declarations;-Wno-shadow>;$<$<CXX_COMPILER_ID:MSVC>:/wd4505;/wd5245>")
+ COMPILE_OPTIONS "$<$<CXX_COMPILER_ID:AppleClang,Clang,GNU>:-Wno-unused-function;-Wno-missing-declarations;-Wno-shadow>;$<$<CXX_COMPILER_ID:MSVC>:/wd4505;/wd5245>")
if(WIN32)
target_sources(common PRIVATE windows/timer_resolution.cpp