Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed linking error when cmake was used, because k4arecord was not mentioned in the CMakeLists.txt #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin)

FIND_PACKAGE(k4a REQUIRED)
FIND_PACKAGE(k4arecord REQUIRED)
FIND_PACKAGE(k4abt REQUIRED)

# These specific settings tell the loader to search the directory of the
Expand Down
1 change: 1 addition & 0 deletions body-tracking-samples/simple_3d_viewer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ target_include_directories(simple_3d_viewer PRIVATE ../sample_helper_includes)
target_link_libraries(simple_3d_viewer PRIVATE
k4a
k4abt
k4arecord
window_controller_3d::window_controller_3d
glfw::glfw
)
Expand Down