From 42a470c7dd64bec72d24cd5f6ee6555f8395b419 Mon Sep 17 00:00:00 2001 From: epsilonrt Date: Tue, 16 Oct 2018 21:55:55 +0200 Subject: [PATCH] Fixes #4 Adds libcppdb-mysql0,libcppdb-odbc0,libcppdb-postgresql0 dependencies for libpduino package Adds libcppdb-dev,libudev-dev libpduino-dev package --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a3cbcf0..c870cac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -260,13 +260,13 @@ if (CPACK_GENERATOR STREQUAL "DEB") set(CPACK_DEBIAN_LIB_PACKAGE_NAME "libpiduino") set(CPACK_COMPONENT_LIB_DESCRIPTION "${CPACK_DEBIAN_LIB_PACKAGE_NAME} - ${PROJECT_DESCRIPTION} (library)\n${PROJECT_DESCRIPTION_TEXT}\n This package provides the shared libriairie itself.") set(CPACK_DEBIAN_LIB_FILE_NAME "lib${PROJECT_NAME}_${CPACK_PACKAGE_VERSION}_${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}.deb") - set(CPACK_DEBIAN_LIB_PACKAGE_DEPENDS "libc6,libgcc1,libstdc++6,libcppdb0,libcppdb-sqlite3-0,libudev1") + set(CPACK_DEBIAN_LIB_PACKAGE_DEPENDS "libc6,libgcc1,libstdc++6,libcppdb0,libcppdb-sqlite3-0,libcppdb-mysql0,libcppdb-odbc0,libcppdb-postgresql0,libudev1") set(CPACK_DEBIAN_LIB_PACKAGE_SECTION "libs") set(CPACK_DEBIAN_DEV_PACKAGE_NAME "libpiduino-dev") set(CPACK_COMPONENT_DEV_DESCRIPTION "${CPACK_DEBIAN_LIB_PACKAGE_NAME} - ${PROJECT_DESCRIPTION} (development files)\n${PROJECT_DESCRIPTION_TEXT}\n This package provides the development files.") set(CPACK_DEBIAN_DEV_FILE_NAME "lib${PROJECT_NAME}-dev_${CPACK_PACKAGE_VERSION}_${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}.deb") - set(CPACK_DEBIAN_DEV_PACKAGE_DEPENDS "${CPACK_DEBIAN_LIB_PACKAGE_NAME} (= ${CPACK_PACKAGE_VERSION}),pkg-config,git-core") + set(CPACK_DEBIAN_DEV_PACKAGE_DEPENDS "${CPACK_DEBIAN_LIB_PACKAGE_NAME} (= ${CPACK_PACKAGE_VERSION}),pkg-config,git-core,libcppdb-dev,libudev-dev") set(CPACK_DEBIAN_DEV_PACKAGE_SECTION "libdevel") #set(CPACK_PACKAGE_DESCRIPTION_FILE "${PIDUINO_SRC_DIR}/doc/README-deb.md")