From e8168b138cea27186944c0ea4ef91d63c482a3c9 Mon Sep 17 00:00:00 2001 From: Alok Priyadarshi Date: Fri, 26 Feb 2021 16:28:10 -0800 Subject: [PATCH] Add support for making debian package. --- CMakeLists.txt | 3 +++ LiveMediaConfig.cmake.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 632baa5..5d18824 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,3 +42,6 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/LiveMediaConfigVersion.cmake DESTINATION ${INSTALL_DATADIR} ) + +set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Alok Priyadarshi") +include(CPack) diff --git a/LiveMediaConfig.cmake.in b/LiveMediaConfig.cmake.in index 8492197..eeb5459 100644 --- a/LiveMediaConfig.cmake.in +++ b/LiveMediaConfig.cmake.in @@ -23,7 +23,7 @@ target_link_libraries(LiveMedia::BasicUsageEnvironment INTERFACE add_library(LiveMedia::Groupsock STATIC IMPORTED) target_include_directories(LiveMedia::Groupsock INTERFACE - "@PACKAGE_INSTALL_INCLUDEDIR@/Groupsock" + "@PACKAGE_INSTALL_INCLUDEDIR@/groupsock" ) set_property(TARGET LiveMedia::Groupsock PROPERTY IMPORTED_LOCATION "@PACKAGE_INSTALL_LIBDIR@/libgroupsock.a"