Skip to content

Commit

Permalink
dev deps for dpkg, pkg-config fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
abe-winter committed Oct 20, 2023
1 parent 40be3cb commit 2bbd119
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/viam/api/config/viam-cpp-sdk-libviamapi.pc.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
prefix=@CMAKE_INSTALL_PREFIX@
prefix=@CPACK_PACKAGING_INSTALL_PREFIX@
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
base_includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
deep_includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/viam/api
Expand Down
3 changes: 1 addition & 2 deletions src/viam/sdk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,5 @@ set(CPACK_GENERATOR "DEB")
set(CPACK_ARCHIVE_COMPONENT_INSTALL ON)
set(CPACK_COMPONENTS_ALL viam-cpp-sdk_dev)
set(CPACK_PACKAGE_CONTACT "[email protected]")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libprotobuf32, libgrpc++1.51, libabsl20220623")
set(CPACK_PACKAGING_INSTALL_PREFIX "/usr")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libprotobuf-dev, libgrpc++-dev")
include(CPack)
4 changes: 2 additions & 2 deletions src/viam/sdk/config/viam-cpp-sdk-libviamsdk.pc.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
prefix=@CMAKE_INSTALL_PREFIX@
prefix=@CPACK_PACKAGING_INSTALL_PREFIX@
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@/viam/sdk

Name: @PROJECT_NAME@-libviamsdk
Description: @PROJECT_DESCRIPTION@
Expand Down

0 comments on commit 2bbd119

Please sign in to comment.