Show the app icon on the macOS Dock via AppKit.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
pepaskopec-blip 2026-09-15 12:53:14 +02:00
commit 6060a8d874
5 changed files with 97 additions and 6 deletions

View file

@ -60,6 +60,10 @@ else()
target_link_libraries(maturita PRIVATE PkgConfig::GTK4 m)
target_compile_options(maturita PRIVATE
-Wall -Wextra -Wno-deprecated-declarations)
if(APPLE)
target_link_libraries(maturita PRIVATE
"-framework AppKit" "-framework Foundation")
endif()
endif()
# The GTK stylesheet and window icon are loaded at runtime from the working