mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +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(CARBON Carbon)
|
||||||
find_library(COCOA Cocoa)
|
find_library(COCOA Cocoa)
|
||||||
find_library(OPENGL OpenGL)
|
find_library(OPENGL OpenGL)
|
||||||
|
find_library(SECURITY Security)
|
||||||
set(PLATFORM_CLIENT
|
set(PLATFORM_CLIENT
|
||||||
src/osx/notification.h
|
src/osx/notification.h
|
||||||
src/osx/notification.mm
|
src/osx/notification.mm
|
||||||
src/osxlaunch/client.h
|
src/osxlaunch/client.h
|
||||||
src/osxlaunch/client.m
|
src/osxlaunch/client.m
|
||||||
)
|
)
|
||||||
set(PLATFORM_CLIENT_LIBS ${COCOA} ${OPENGL})
|
set(PLATFORM_CLIENT_LIBS ${COCOA} ${OPENGL} ${SECURITY})
|
||||||
set(PLATFORM_LIBS ${CARBON})
|
set(PLATFORM_LIBS ${CARBON})
|
||||||
else()
|
else()
|
||||||
set(PLATFORM_CLIENT)
|
set(PLATFORM_CLIENT)
|
||||||
|
|
Loading…
Reference in a new issue