Skip to content

Commit

Permalink
add CPack
Browse files Browse the repository at this point in the history
  • Loading branch information
flier committed Dec 2, 2022
1 parent 88558bd commit 4cbb522
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.12")
cmake_policy(SET CMP0074 NEW)
endif()

project(opentelemetry-cpp)
project(opentelemetry-cpp VERSION 1.8.0)

set(CPACK_PACKAGE_VENDOR "OpenTelemetry")
set(CPACK_PACKAGE_DESCRIPTION "The C++ OpenTelemetry client.")
set(CPACK_PACKAGE_HOMEPAGE_URL "https://opentelemetry.io/")
set(CPACK_RPM_PACKAGE_LICENSE "Apache-2.0")

include(CPack)

# Mark variables as used so cmake doesn't complain about them
mark_as_advanced(CMAKE_TOOLCHAIN_FILE)
Expand Down

0 comments on commit 4cbb522

Please sign in to comment.