Skip to content

Commit b44a80c

Browse files
authored
[build] cmake: Install wpimath nanopb headers (#7731)
1 parent 25d1152 commit b44a80c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

wpimath/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,12 @@ target_include_directories(
189189
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/main/native/thirdparty/sleipnir/src>
190190
)
191191

192+
install(
193+
DIRECTORY src/generated/main/native/cpp/
194+
DESTINATION "${include_dest}/wpimath"
195+
FILES_MATCHING
196+
PATTERN "*.h"
197+
)
192198
install(DIRECTORY src/main/native/include/ DESTINATION "${include_dest}/wpimath")
193199
target_include_directories(
194200
wpimath

0 commit comments

Comments
 (0)