eigen/Eigen/CMakeLists.txt
Benoit Jacob a52c74095f rename src/ to Eigen/ so that we're able to #include<Eigen/Core.h>
in the examples instead of ugly things like #include"../../src/Core.h"
2007-12-20 21:25:13 +00:00

14 lines
274 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}
)
add_subdirectory(Core)