mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[build] Fix cmake config files (#5624)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
include(CMakeFindDependencyMacro)
|
||||
@FILENAME_DEP_REPLACE@
|
||||
@WPIUTIL_DEP_REPLACE@
|
||||
@NTCORE_DEP_REPLACE@
|
||||
@CSCORE_DEP_REPLACE@
|
||||
@@ -8,4 +7,5 @@ include(CMakeFindDependencyMacro)
|
||||
@WPILIBC_DEP_REPLACE@
|
||||
@WPIMATH_DEP_REPLACE@
|
||||
|
||||
@FILENAME_DEP_REPLACE@
|
||||
include(${SELF_DIR}/wpilibNewCommands.cmake)
|
||||
|
||||
@@ -2,5 +2,9 @@ include(CMakeFindDependencyMacro)
|
||||
@FILENAME_DEP_REPLACE@
|
||||
@WPIUTIL_DEP_REPLACE@
|
||||
|
||||
if(@USE_SYSTEM_EIGEN@)
|
||||
find_dependency(Eigen3)
|
||||
endif()
|
||||
|
||||
@FILENAME_DEP_REPLACE@
|
||||
include(${SELF_DIR}/wpimath.cmake)
|
||||
|
||||
@@ -4,5 +4,9 @@ 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)
|
||||
|
||||
Reference in New Issue
Block a user