Warning, /acts/thirdparty/eigen3/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 message(STATUS "Building Eigen ${_acts_eigen3_version}")
0002
0003 include(ExternalProject)
0004
0005 set(Eigen3_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR}/eigen3-prefix/src/eigen3)
0006
0007 ExternalProject_Add(
0008 eigen3
0009 "${ACTS_EIGEN3_SOURCE};CONFIGURE_COMMAND;;BUILD_COMMAND;;INSTALL_COMMAND;"
0010 )
0011
0012 add_library(Eigen3::Eigen INTERFACE IMPORTED GLOBAL)
0013 add_dependencies(Eigen3::Eigen eigen3)
0014 target_include_directories(Eigen3::Eigen INTERFACE ${Eigen3_INCLUDE_DIR})
0015 install(
0016 DIRECTORY ${Eigen3_INCLUDE_DIR}/Eigen
0017 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
0018 )