mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[build] Add exports to CMake subprojects (#6505)
This allows consuming allwpilib via FetchContent.
This commit is contained in:
@@ -46,4 +46,5 @@ wpilib_target_warnings(wpiguidev)
|
||||
target_link_libraries(wpiguidev wpigui)
|
||||
|
||||
install(TARGETS wpigui EXPORT wpigui)
|
||||
export(TARGETS wpigui FILE wpigui.cmake NAMESPACE wpigui::)
|
||||
install(DIRECTORY src/main/native/include/ DESTINATION "${include_dest}/wpigui")
|
||||
|
||||
Reference in New Issue
Block a user