From 88534ba623421c956d8ffcda2d27f41d704d15ef Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 3 Jul 2018 07:37:12 +0200 Subject: update eigen --- eigen/doc/TopicCMakeGuide.dox | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'eigen/doc/TopicCMakeGuide.dox') diff --git a/eigen/doc/TopicCMakeGuide.dox b/eigen/doc/TopicCMakeGuide.dox index cf767d0..896cfa8 100644 --- a/eigen/doc/TopicCMakeGuide.dox +++ b/eigen/doc/TopicCMakeGuide.dox @@ -32,13 +32,9 @@ which requires at least version 3.3 of %Eigen. Here, `path-to-example-directory` is the path to the directory that contains both `CMakeLists.txt` and `example.cpp`. -Do not forget to set the \c CMAKE_PREFIX_PATH variable if Eigen is not installed in a default location or if you want to pick a specific version. For instance: -\code{.sh} -$ cmake path-to-example-directory -DCMAKE_PREFIX_PATH=$HOME/mypackages -\endcode -An alternative is to set the \c Eigen3_DIR cmake's variable to the respective path containing the \c Eigen3*.cmake files. For instance: -\code{.sh} -$ cmake path-to-example-directory -DEigen3_DIR=$HOME/mypackages/share/eigen3/cmake/ +If you have multiple installed version of %Eigen, you can pick your favorite one by setting the \c Eigen3_DIR cmake's variable to the respective path containing the \c Eigen3*.cmake files. For instance: +\code +cmake path-to-example-directory -DEigen3_DIR=$HOME/mypackages/share/eigen3/cmake/ \endcode If the `REQUIRED` option is omitted when locating %Eigen using -- cgit v1.2.3