blob: 20c9a7bc96910a79720effa6e5fd436378c8a9fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
include (WarnUnmaintained)
warn_unmaintained("mac shadow server subsystem")
find_library(IOKIT IOKit REQUIRED)
find_library(IOSURFACE IOSurface REQUIRED)
find_library(CARBON Carbon REQUIRED)
find_package(PAM)
set(LIBS
${IOKIT}
${IOSURFACE}
${CARBON}
)
if(PAM_FOUND)
add_definitions(-DWITH_PAM)
include_directories(${PAM_INCLUDE_DIR})
list(APPEND LIBS ${PAM_LIBRARY})
else()
message("building without PAM authentication support")
endif()
add_definitions(-DWITH_SHADOW_MAC)
add_library(freerdp-shadow-subsystem-impl STATIC
mac_shadow.h
mac_shadow.c
)
target_link_libraries(freerdp-shadow-subsystem-impl PRIVATE
${LIBS}
)
|