mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Try linking against security framework on macosx
This commit is contained in:
parent
81f704516f
commit
75d3eeaa09
|
@ -176,13 +176,14 @@ elseif(TARGET_OS STREQUAL "mac")
|
|||
find_library(CARBON Carbon)
|
||||
find_library(COCOA Cocoa)
|
||||
find_library(OPENGL OpenGL)
|
||||
find_library(SECURITY Security)
|
||||
set(PLATFORM_CLIENT
|
||||
src/osx/notification.h
|
||||
src/osx/notification.mm
|
||||
src/osxlaunch/client.h
|
||||
src/osxlaunch/client.m
|
||||
)
|
||||
set(PLATFORM_CLIENT_LIBS ${COCOA} ${OPENGL})
|
||||
set(PLATFORM_CLIENT_LIBS ${COCOA} ${OPENGL} ${SECURITY})
|
||||
set(PLATFORM_LIBS ${CARBON})
|
||||
else()
|
||||
set(PLATFORM_CLIENT)
|
||||
|
|
Loading…
Reference in a new issue