Skip to content

Commit

Permalink
Set some hidapi cmake variables
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeschmitt-tr committed Oct 9, 2024
1 parent 12dc209 commit 474401d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ find_package(rclcpp REQUIRED)
find_package(rclcpp_components REQUIRED)

find_package(PkgConfig REQUIRED)

set(HIDAPI_WITH_LIBUSB FALSE)
set(BUILD_SHARED_LIBS FALSE)
set(HIDAPI_PRINT_VERSION ON)
set(HIDAPI_INSTALL_TARGETS ON)
add_subdirectory(dependencies/hidapi)

include_directories(include)
Expand Down

0 comments on commit 474401d

Please sign in to comment.