File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,5 @@ include(FetchContent)
22include (ExternalProject)
33
44set (FETCHCONTENT_QUIET OFF )
5+
6+ include (telemetry.cmake)
Original file line number Diff line number Diff line change 1+ # Telemetry library (C++ library for telemetry data collection with Fuse integration)
2+ #
3+ # The Telemetry library consists of two libraries that can be added as dependency:
4+ #
5+ # - telemetry::telemetry (C++ library for telemetry data collection)
6+ # - telemetry::appFs (C++ library that expose telemetry data as a Fuse filesystem)
7+
8+ set (TELEMETRY_BUILD_SHARED OFF )
9+ set (TELEMETRY_INSTALL_TARGETS OFF )
10+ set (TELEMETRY_PACKAGE_BUILDER OFF )
11+ set (TELEMETRY_ENABLE_TESTS OFF )
12+
13+ set (CMAKE_POSITION_INDEPENDENT_CODE ON )
14+
15+ set (GIT_REPO https://github.com/CESNET/telemetry.git)
16+
17+ FetchContent_Declare(
18+ telemetry
19+ GIT_REPOSITORY ${GIT_REPO}
20+ GIT_TAG v1.1.0
21+ )
22+
23+ # Make sure that subproject accepts predefined build options without warnings.
24+ set (CMAKE_POLICY_DEFAULT_CMP0077 NEW)
25+
26+ FetchContent_MakeAvailable(telemetry)
You can’t perform that action at this time.
0 commit comments