eigen/Eigen/CMakeLists.txt
Benoit Jacob 86220784b6 part 2 of the reorganization. Benefits/changes:
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.
2007-12-28 16:20:00 +00:00

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)