Skip to content

Commit

Permalink
Add: Add eigen3 as a dependency in configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
coord-e committed Jan 30, 2019
1 parent 3dab3aa commit 470485c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/flom.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ includedir=${prefix}/@INCLUDE_INSTALL_DIR@
Name: flom
Description: robot motion exchange format
Version: @flom_VERSION@
Requires: eigen3

Libs: -L${libdir} -lflom
Cflags: -I${includedir}
4 changes: 3 additions & 1 deletion config/flomConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ set(flom_DETAILED_VERSION @flom_DETAILED_VERSION@)

@PACKAGE_INIT@

set_and_check(flom_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
find_package (Eigen3 REQUIRED NO_MODULE)

set_and_check(flom_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@ ${EIGEN3_INCLUDE_DIR}")
set_and_check(flom_LIB_DIR "@PACKAGE_LIB_INSTALL_DIR@")

set(flom_LIBRARIES flom)
Expand Down

0 comments on commit 470485c

Please sign in to comment.