Commit Graph

10 Commits (3d23152a75980b14e2ba5b84dbd84a286d07428d)

Author SHA1 Message Date
Gold856 3d23152a75 Clean up version finding in HandleEigen 2025-01-07 07:53:33 -05:00
Lawrence Ibarria 5347d205e8 Minor cleanup on HandleEigen.cmake 2023-02-12 13:39:39 -08:00
Lawrence Ibarria 1bed89e942 Allow override of BUILD_SHARED_LIBS
The cmake option BUILD_SHARED_LIBS is a cmake built-in option
to control if libraries are by default SHARED or STATIC.

For large projects, it is desired to be able to design gtsam as a
shared or static library regardless of the value of BUILD_SHARED_LIBS.
This change is unobtrusive, two new cmake options are created, to
force gtsam to be a shared or static library. If neither option is
set (this is the default), the behavior of gtsam remains unchanged
which is to use BUILD_SHARED_LIBS decision.
2023-02-12 13:29:30 -08:00
Varun Agrawal 1129c95dd5 fix CMake so that Eigen discovery and linking is consistent 2022-10-25 17:37:29 -04:00
Sébastien Gonzalve 774cfd25b8 Use Eigen Config file for cmake detection
Since Eigen 3.3.0, a Config.cmake file is provided, thus no need to rely
on a custom one.

Moreover, the FindEigen3.cmake used in gtsam was erroneously forcing an
include directory when using system version of eigen.

This fixes bug #1297
2022-10-08 18:04:40 +02:00
Sébastien Gonzalve ec3d6b36da Use cannonical library name for eigen 2022-10-05 21:30:58 +02:00
Varun Agrawal ea8e69c735 Use system Eigen by default only if found 2022-07-07 11:02:54 -04:00
Jose-Luis Blanco Claraco 35aeaf5246
CMake scripts compatible with gtsam as git submodule 2021-01-17 22:21:53 +01:00
Jose Luis Blanco Claraco 69b2cacbe7
Revert use system Eigen if found 2020-10-07 17:03:20 +02:00
Jose Luis Blanco Claraco 8cb22624e0
Use camel case for cmake files 2020-10-07 17:02:55 +02:00