Skip to content

Commit 0d75e35

Browse files
committed
Actually export wpimathproto
1 parent 902ed1a commit 0d75e35

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

wpimath/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ list(REMOVE_ITEM wpimath_native_src ${wpimath_jni_src})
204204

205205
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
206206
add_library(wpimathproto ${WPIMATH_PROTO_SRCS})
207-
install(TARGETS wpimathproto EXPORT wpimathproto)
208207
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS FALSE)
209208
add_library(wpimath ${wpimath_native_src})
210209
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
@@ -253,7 +252,7 @@ target_include_directories(
253252
$<INSTALL_INTERFACE:${include_dest}/wpimath>
254253
)
255254

256-
install(TARGETS wpimath EXPORT wpimath)
255+
install(TARGETS wpimath wpimathproto EXPORT wpimath)
257256

258257
configure_file(wpimath-config.cmake.in ${WPILIB_BINARY_DIR}/wpimath-config.cmake)
259258
install(FILES ${WPILIB_BINARY_DIR}/wpimath-config.cmake DESTINATION share/wpimath)

0 commit comments

Comments
 (0)