From 9a13af2d558a4eeaaff3ab182bb4a5419ec7f44b Mon Sep 17 00:00:00 2001 From: Gabriele Ara Date: Thu, 24 Jun 2021 13:53:49 +0000 Subject: [PATCH] Fixing dependencies for debian package --- daemon/CMakeLists.txt | 7 +------ packaging/deb/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt index 097c04f..bf03f43 100644 --- a/daemon/CMakeLists.txt +++ b/daemon/CMakeLists.txt @@ -18,17 +18,12 @@ set_property(TARGET retifd # find_package(PkgConfig REQUIRED) # pkg_check_modules(YAML REQUIRED yaml) -find_library(YAML yaml NAMES yaml) - -message(YAML: ${YAML}) -message(YAML_INCLUDE_DIR: ${YAML_INCLUDE_DIR}) -message(YAML_LIBRARIES: ${YAML_LIBRARIES}) +# find_library(YAML yaml NAMES yaml) target_include_directories(retifd PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} - ${YAML_INCLUDE_DIR} ) target_link_libraries(retifd diff --git a/packaging/deb/CMakeLists.txt b/packaging/deb/CMakeLists.txt index 4082a6c..493a9d4 100644 --- a/packaging/deb/CMakeLists.txt +++ b/packaging/deb/CMakeLists.txt @@ -10,5 +10,5 @@ if (CPACK_ENABLE_DEB) # Debian package generator specific options set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CMAKE_CURRENT_LIST_DIR}/triggers") set(CPACK_DEBIAN_PACKAGE_CONTROL_STRICT_PERMISSION TRUE) - set(CPACK_DEBIAN_PACKAGE_DEPENDS "") + set(CPACK_DEBIAN_PACKAGE_DEPENDS "libyaml-0-2 (>= 0.2.2)") endif(CPACK_ENABLE_DEB)