Skip to content

Commit

Permalink
Fixing dependencies for debian package
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieleara committed Jun 24, 2021
1 parent efe9238 commit 9a13af2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions daemon/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packaging/deb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 9a13af2

Please sign in to comment.