Show the app icon on the macOS Dock via AppKit.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
0397519801
commit
6060a8d874
5 changed files with 97 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue