From f2d60f95eb896d59a3c22f2ed1f6f9d169689d8f Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Wed, 7 Jun 2017 11:12:08 +0200 Subject: Adding components for libdash packaging Change-Id: I95fbf884056534f84eaa93276d25d267844b3ea1 Signed-off-by: Mauro Sardara --- libdash/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libdash') diff --git a/libdash/CMakeLists.txt b/libdash/CMakeLists.txt index 89cfd6ba..ada76ad8 100644 --- a/libdash/CMakeLists.txt +++ b/libdash/CMakeLists.txt @@ -183,8 +183,8 @@ add_library(dash SHARED ${SOURCE_FILES}) set_target_properties(dash PROPERTIES LINKER_LANGUAGE CXX) target_link_libraries(dash ${CURL_LIBRARIES} ${ZLIB_LIBRARIES} ${CURL_LIBRARIES} ${LIBXML2_LIBRARIES} ${CURL_LIBRARIES} ${ANDROID_LIBRARIES} ${CURL_LIBRARIES}) message("libxml ${LIBXML2_LIBRARIES} ${LIBXML2_INCLUDE_DIR}") -install(TARGETS dash DESTINATION ${CMAKE_INSTALL_PREFIX}/lib PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ) -install(FILES ${HEADER_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/include/libdash) +install(TARGETS dash DESTINATION ${CMAKE_INSTALL_PREFIX}/lib PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ COMPONENT library) +install(FILES ${HEADER_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/include/libdash COMPONENT headers) # Generate DEB / RPM packages @@ -260,4 +260,4 @@ set(CPACK_${TYPE}_PACKAGE_RELEASE 1) set(CPACK_${TYPE}_PACKAGE_VENDOR ${VENDOR}) set(CPACK_${TYPE}_PACKAGE_DESCRIPTION "Open-source library that provides an object orient (OO) interface to the MPEG-DASH standard") -include(CPack) \ No newline at end of file +include(CPack) -- cgit 1.2.3-korg