eigen.cmake 423 Bytes
Newer Older
1
superbuild_add_project(eigen
Matthew Woehlke's avatar
Matthew Woehlke committed
2
3
4
5
  PATCH_COMMAND
    ${CMAKE_COMMAND} -E copy_if_different
    ${SuperBuild_PROJECTS_DIR}/patches/eigen.cmake.language_support.cmake
    <SOURCE_DIR>/cmake/language_support.cmake
Bastien Jacquet's avatar
Bastien Jacquet committed
6
  CMAKE_ARGS
Nicolas Cadart's avatar
Nicolas Cadart committed
7
    -DEIGEN_BUILD_PKGCONFIG=OFF
8
    -DBUILD_TESTING=OFF
9
10
11
12
13
14
)

superbuild_add_extra_cmake_args(
  -DEIGEN_INCLUDE_DIR:PATH=<INSTALL_DIR>/include/eigen3
  -DEIGEN3_DIR:PATH=<INSTALL_DIR>/share/eigen3/cmake
)