Skip to content

Commit

Permalink
add -framework Cocoa for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
neroist committed May 29, 2024
1 parent d68dcd0 commit 65886fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libtray.nim
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ else:

elif defined(macos) or defined(trayAppkit):
{.passC: "-DTRAY_APPKIT".}
{.passL: "-framework Cocoa".}
{.compile: "./trayc/tray_darwin.m".}

{.pragma: trayproc.}
Expand Down

0 comments on commit 65886fd

Please sign in to comment.