mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
54ae2ac7e8
However the eigen vectors are not correct yet, but I really cannot find the problem.
26 lines
547 B
CMake
26 lines
547 B
CMake
SET(Eigen_HEADERS Core CoreDeclarations LU Cholesky QR)
|
|
|
|
SET(Eigen_SRCS
|
|
src/Core/CoreInstanciations.cpp
|
|
src/QR/QrInstanciations.cpp
|
|
)
|
|
|
|
ADD_LIBRARY(Eigen2 ${Eigen_SRCS})
|
|
|
|
SET(INCLUDE_INSTALL_DIR
|
|
"${CMAKE_INSTALL_PREFIX}/include/eigen2"
|
|
CACHE PATH
|
|
"The directory where we install the header files"
|
|
FORCE)
|
|
|
|
INSTALL(FILES
|
|
${Eigen_HEADERS}
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/Eigen
|
|
)
|
|
|
|
INSTALL(TARGETS Eigen2
|
|
RUNTIME DESTINATION bin
|
|
LIBRARY DESTINATION lib
|
|
ARCHIVE DESTINATION lib)
|
|
|
|
ADD_SUBDIRECTORY(src) |