mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
libprotobuf is a very annoying dependency to deal with, and with the switch to nanopb for generated C++ code, libprotobuf is only used for dynamic decode in the GUI apps. libprotobuf has been swapped out with upb, a much smaller C-based library that supports reflection and can therefore do dynamic decode. This means we can remove the libprotobuf dependency and stop dealing with build issues because of it.
16 lines
326 B
CMake
16 lines
326 B
CMake
include(CMakeFindDependencyMacro)
|
|
@FILENAME_DEP_REPLACE@
|
|
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
|
find_dependency(Threads)
|
|
@FMTLIB_SYSTEM_REPLACE@
|
|
|
|
if(@USE_SYSTEM_FMTLIB@)
|
|
find_dependency(fmt)
|
|
endif()
|
|
|
|
@FILENAME_DEP_REPLACE@
|
|
include(${SELF_DIR}/wpiutil.cmake)
|
|
if(@WITH_JAVA@)
|
|
include(${SELF_DIR}/wpiutil_jar.cmake)
|
|
endif()
|