-
Notifications
You must be signed in to change notification settings - Fork 81
/
PackageConfig.cmake.in
30 lines (25 loc) · 1.01 KB
/
PackageConfig.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
include(CMakeFindDependencyMacro)
set(ZENOHPICO_FEATURE_UNSTABLE_API @Z_FEATURE_UNSTABLE_API@)
set(ZENOHPICO_FEATURE_MULTI_THREAD @Z_FEATURE_MULTI_THREAD@)
set(ZENOHPICO_FEATURE_PUBLICATION @Z_FEATURE_PUBLICATION@)
set(ZENOHPICO_FEATURE_SUBSCRIPTION @Z_FEATURE_SUBSCRIPTION@)
set(ZENOHPICO_FEATURE_QUERY @Z_FEATURE_QUERY@)
set(ZENOHPICO_FEATURE_QUERYABLE @Z_FEATURE_QUERYABLE@)
set(ZENOHPICO_FEATURE_RAWETH_TRANSPORT @Z_FEATURE_RAWETH_TRANSPORT@)
set(ZENOHPICO_FEATURE_INTEREST @Z_FEATURE_INTEREST@)
set(ZENOHPICO_FEATURE_LIVELINESS @Z_FEATURE_LIVELINESS@)
if(@CHECK_THREADS@)
find_dependency(Threads REQUIRED)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/zenohpicoTargets.cmake")
if(@PICO_SHARED@)
add_library(zenohpico::shared ALIAS zenohpico::zenohpico_shared)
endif()
if(@PICO_STATIC@)
add_library(zenohpico::static ALIAS zenohpico::zenohpico_static)
endif()
if(@BUILD_SHARED_LIBS@)
add_library(zenohpico::lib ALIAS zenohpico::zenohpico_shared)
else()
add_library(zenohpico::lib ALIAS zenohpico::zenohpico_static)
endif()