From b44a80c07a809cf4e1d1d10abc9afa2bac648da5 Mon Sep 17 00:00:00 2001 From: Gold856 <117957790+Gold856@users.noreply.github.com> Date: Sat, 25 Jan 2025 02:26:09 -0500 Subject: [PATCH] [build] cmake: Install wpimath nanopb headers (#7731) --- wpimath/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wpimath/CMakeLists.txt b/wpimath/CMakeLists.txt index 19780acd83..348fef5e99 100644 --- a/wpimath/CMakeLists.txt +++ b/wpimath/CMakeLists.txt @@ -189,6 +189,12 @@ target_include_directories( $ ) +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