Skip to content

Commit

Permalink
successful .deb if you remove examples
Browse files Browse the repository at this point in the history
  • Loading branch information
abe-winter committed Oct 17, 2023
1 parent e981306 commit da72d8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/viam/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

add_subdirectory(api)
add_subdirectory(sdk)
add_subdirectory(examples)

# Generate CMake configs to enable importing this project
# into others via `find_package`.
Expand Down
6 changes: 6 additions & 0 deletions src/viam/sdk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -249,3 +249,9 @@ install(FILES


add_subdirectory(tests)

set(CPACK_GENERATOR "DEB")
set(CPACK_ARCHIVE_COMPONENT_INSTALL ON)
set(CPACK_COMPONENTS_ALL viam-cpp-sdk_dev)
set(CPACK_PACKAGE_CONTACT "OY TIS")
include(CPack)

0 comments on commit da72d8b

Please sign in to comment.