Skip to content

Commit

Permalink
[build] cmake: Install wpimath nanopb headers (wpilibsuite#7731)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold856 authored Jan 25, 2025
1 parent 25d1152 commit b44a80c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wpimath/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,12 @@ target_include_directories(
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/main/native/thirdparty/sleipnir/src>
)

install(
DIRECTORY src/generated/main/native/cpp/
DESTINATION "${include_dest}/wpimath"
FILES_MATCHING
PATTERN "*.h"
)
install(DIRECTORY src/main/native/include/ DESTINATION "${include_dest}/wpimath")
target_include_directories(
wpimath
Expand Down

0 comments on commit b44a80c

Please sign in to comment.