Skip to content

Commit

Permalink
[OMON-669] Make sure to install OrbitId example (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
awegrzyn authored Jul 13, 2023
1 parent 35a3f83 commit a851c52
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ endif()

# Define project
project(Monitoring
VERSION 3.16.0
VERSION 3.16.1
DESCRIPTION "O2 Monitoring library"
LANGUAGES CXX
)
Expand Down Expand Up @@ -293,6 +293,7 @@ if(RdKafka_FOUND AND Protobuf_FOUND AND CURL_FOUND)
endforeach()
set_target_properties(8-KafkaToHttpServer PROPERTIES OUTPUT_NAME "o2-monitoring-env-webserver")
set_target_properties(12-KafkaToInfluxDb PROPERTIES OUTPUT_NAME "o2-monitoring-kafka-to-influxdb")
set_target_properties(14-OrbitId PROPERTIES OUTPUT_NAME "o2-monitoring-orbitid")
endif()

####################################
Expand Down Expand Up @@ -345,6 +346,11 @@ if(RdKafka_FOUND)
install(TARGETS 11-KafkaToWebsocket)
endif()


if(RdKafka_FOUND AND Protobuf_FOUND)
install(TARGETS 14-OrbitId)
endif()

# Create version file
include(CMakePackageConfigHelpers)
write_basic_package_version_file("${CMAKE_CURRENT_BINARY_DIR}/cmake/MonitoringConfigVersion.cmake"
Expand Down

0 comments on commit a851c52

Please sign in to comment.