Skip to content

Commit

Permalink
Add missing package libraries cmake variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong committed Sep 25, 2024
1 parent 7c040c2 commit b9a7159
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions trajopt/cmake/trajopt-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set(@PROJECT_NAME@_FOUND ON)
set_and_check(@PROJECT_NAME@_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include")
set_and_check(@PROJECT_NAME@_LIBRARY_DIRS "${PACKAGE_PREFIX_DIR}/lib")
set(@PROJECT_NAME@_LIBRARIES trajopt::@PROJECT_NAME@)

include(CMakeFindDependencyMacro)
find_dependency(Eigen3)
Expand Down
1 change: 1 addition & 0 deletions trajopt_common/cmake/trajopt_common-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set(@PROJECT_NAME@_FOUND ON)
set_and_check(@PROJECT_NAME@_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include")
set_and_check(@PROJECT_NAME@_LIBRARY_DIRS "${PACKAGE_PREFIX_DIR}/lib")
set(@PROJECT_NAME@_LIBRARIES trajopt::@PROJECT_NAME@)

include(CMakeFindDependencyMacro)
find_dependency(Eigen3)
Expand Down
1 change: 1 addition & 0 deletions trajopt_ifopt/cmake/trajopt_ifopt-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set(@PROJECT_NAME@_FOUND ON)
set_and_check(@PROJECT_NAME@_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include")
set_and_check(@PROJECT_NAME@_LIBRARY_DIRS "${PACKAGE_PREFIX_DIR}/lib")
set(@PROJECT_NAME@_LIBRARIES trajopt::@PROJECT_NAME@)

include(CMakeFindDependencyMacro)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set(@PROJECT_NAME@_FOUND ON)
set_and_check(@PROJECT_NAME@_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include")
set_and_check(@PROJECT_NAME@_LIBRARY_DIRS "${PACKAGE_PREFIX_DIR}/lib")
set(@PROJECT_NAME@_LIBRARIES trajopt::@PROJECT_NAME@ trajopt::@PROJECT_NAME@_callbacks)

include(CMakeFindDependencyMacro)
find_dependency(console_bridge)
Expand Down
1 change: 1 addition & 0 deletions trajopt_sco/cmake/trajopt_sco-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set(@PROJECT_NAME@_FOUND ON)
set_and_check(@PROJECT_NAME@_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include")
set_and_check(@PROJECT_NAME@_LIBRARY_DIRS "${PACKAGE_PREFIX_DIR}/lib")
set(@PROJECT_NAME@_LIBRARIES trajopt::@PROJECT_NAME@)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")

Expand Down

0 comments on commit b9a7159

Please sign in to comment.