mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
86220784b6
1) Eigen2 co-installable with Eigen1 without conflict, without affecting programs including either. 2) #include<Eigen/Core> without the .h without conflict with the Core/ directory 3) Uniformize coding style of the CMakeLists.
14 lines
279 B
CMake
14 lines
279 B
CMake
FILE(GLOB Eigen_SRCS "*.h")
|
|
|
|
SET(INCLUDE_INSTALL_DIR
|
|
"${CMAKE_INSTALL_PREFIX}/include/eigen2"
|
|
CACHE PATH
|
|
"The directory where we install the header files"
|
|
FORCE)
|
|
|
|
INSTALL(FILES
|
|
${Eigen_SRCS}
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/Eigen
|
|
)
|
|
|
|
ADD_SUBDIRECTORY(src) |