[build] Fix cmake config files (#5624)

This commit is contained in:
autoantwort
2023-09-11 22:27:00 +02:00
committed by GitHub
parent 298f8a6e33
commit 7a9a901a73
3 changed files with 9 additions and 1 deletions

View File

@@ -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)

View File

@@ -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)

View File

@@ -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)