From 32fbfb7da619d2132c3c1cdbee5262492926a298 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Mon, 31 Oct 2022 21:45:24 -0700 Subject: [PATCH] [build] cmake: Install ntcore generated include files (#4540) --- ntcore/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/ntcore/CMakeLists.txt b/ntcore/CMakeLists.txt index 2491edd5cb..cd4df28c61 100644 --- a/ntcore/CMakeLists.txt +++ b/ntcore/CMakeLists.txt @@ -35,6 +35,7 @@ set_property(TARGET ntcore PROPERTY FOLDER "libraries") install(TARGETS ntcore EXPORT ntcore DESTINATION "${main_lib_dest}") install(DIRECTORY src/main/native/include/ DESTINATION "${include_dest}/ntcore") +install(DIRECTORY ${WPILIB_BINARY_DIR}/ntcore/generated/main/native/include/ DESTINATION "${include_dest}/ntcore") if (WITH_FLAT_INSTALL) set (ntcore_config_dir ${wpilib_dest})