aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/Eigen3Config.cmake.in
Commit message (Collapse)AuthorAge
* [PATCH] cmake: Support source include with add_subdirectory andGravatar Jean-Christophe Fillion-Robin2018-09-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | find_package use This commit allows the sources of the project to be included in a parent project CMakeLists.txt and support use of "find_package(Eigen3 CONFIG REQUIRED)" Here is an example allowing to test the changes. It is not particularly useful in itself. This change will allow to support one of the scenario allowing to create custom 3D Slicer application bundling associated plugins. /tmp/eigen-git-mirror # Eigen sources /tmp/test/CMakeLists.txt: cmake_minimum_required(VERSION 3.12) project(test) add_subdirectory("/tmp/eigen-git-mirror" "eigen-git-mirror") find_package(Eigen3 CONFIG REQUIRED) and configuring it using: mkdir /tmp/test-build && cd $_ cmake \ -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:BOOL=1 \ -DEigen3_DIR:PATH=/tmp/test-build/eigen-git-mirror \ /tmp/test Co-authored-by: Pablo Hernandez <pablo.hernandez@kitware.com> --- CMakeLists.txt | 1 + cmake/Eigen3Config.cmake.in | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-)
* Make CMake config file relocatableGravatar Silvio Traversaro2016-12-05
|
* cmake: added Eigen3::Eigen imported targetGravatar Sergiu Deitsch2016-11-22
| | | | | (grafted from a287140f7292b9c15719bc6a3a4494ac7874e3cd )
* Further fixes for CMAKE_INSTALL_PREFIX correctnessGravatar Taylor Braun-Jones2015-11-07
| | | | | | | | | | | | And other related cmake cleanup, including: - Use CMAKE_CURRENT_LIST_DIR to find UseEigen3.cmake - Use INSTALL_DIR term consistently for variable names - Drop unnecessary extra EIGEN_INCLUDE_INSTALL_DIR - Fix some paths in generated eigen3.pc and Eigen3Config.cmake files missing CMAKE_INSTALL_PREFIX - Fix pkgconfig directory choice ignored if it doesn't exist at configure time (bug #711)
* Change variable names in Eigen3Config.cmake to EIGEN3_*Gravatar Vladimir Chalupecky2014-06-12
|
* Add cmake config filesGravatar xantares2013-10-09