Skip to content

Commit

Permalink
[build] Fix cmake config files (wpilibsuite#5624)
Browse files Browse the repository at this point in the history
  • Loading branch information
autoantwort authored Sep 11, 2023
1 parent 298f8a6 commit 7a9a901
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion wpilibNewCommands/wpilibNewCommands-config.cmake.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include(CMakeFindDependencyMacro)
@FILENAME_DEP_REPLACE@
@WPIUTIL_DEP_REPLACE@
@NTCORE_DEP_REPLACE@
@CSCORE_DEP_REPLACE@
Expand All @@ -8,4 +7,5 @@ include(CMakeFindDependencyMacro)
@WPILIBC_DEP_REPLACE@
@WPIMATH_DEP_REPLACE@

@FILENAME_DEP_REPLACE@
include(${SELF_DIR}/wpilibNewCommands.cmake)
4 changes: 4 additions & 0 deletions wpimath/wpimath-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 4 additions & 0 deletions wpiutil/wpiutil-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 7a9a901

Please sign in to comment.