-
Notifications
You must be signed in to change notification settings - Fork 0
/
LiveMediaConfig.cmake.in
46 lines (41 loc) · 1.48 KB
/
LiveMediaConfig.cmake.in
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
@PACKAGE_INIT@
find_package(OpenSSL REQUIRED)
add_library(LiveMedia::UsageEnvironment STATIC IMPORTED)
target_include_directories(LiveMedia::UsageEnvironment INTERFACE
"@PACKAGE_INSTALL_INCLUDEDIR@/UsageEnvironment"
)
set_property(TARGET LiveMedia::UsageEnvironment PROPERTY
IMPORTED_LOCATION "@PACKAGE_INSTALL_LIBDIR@/libUsageEnvironment.a"
)
add_library(LiveMedia::BasicUsageEnvironment STATIC IMPORTED)
target_include_directories(LiveMedia::BasicUsageEnvironment INTERFACE
"@PACKAGE_INSTALL_INCLUDEDIR@/BasicUsageEnvironment"
)
set_property(TARGET LiveMedia::BasicUsageEnvironment PROPERTY
IMPORTED_LOCATION "@PACKAGE_INSTALL_LIBDIR@/libBasicUsageEnvironment.a"
)
target_link_libraries(LiveMedia::BasicUsageEnvironment INTERFACE
LiveMedia::UsageEnvironment
)
add_library(LiveMedia::Groupsock STATIC IMPORTED)
target_include_directories(LiveMedia::Groupsock INTERFACE
"@PACKAGE_INSTALL_INCLUDEDIR@/groupsock"
)
set_property(TARGET LiveMedia::Groupsock PROPERTY
IMPORTED_LOCATION "@PACKAGE_INSTALL_LIBDIR@/libgroupsock.a"
)
target_link_libraries(LiveMedia::Groupsock INTERFACE
LiveMedia::UsageEnvironment
)
add_library(LiveMedia::LiveMedia STATIC IMPORTED)
target_include_directories(LiveMedia::LiveMedia INTERFACE
"@PACKAGE_INSTALL_INCLUDEDIR@/liveMedia"
)
set_property(TARGET LiveMedia::LiveMedia PROPERTY
IMPORTED_LOCATION "@PACKAGE_INSTALL_LIBDIR@/libliveMedia.a"
)
target_link_libraries(LiveMedia::LiveMedia INTERFACE
LiveMedia::Groupsock
LiveMedia::UsageEnvironment
OpenSSL::SSL
)