mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
* add a file Eigen/signature_of_eigen3_matrix_library, use it to make FindEigen3.cmake more solid: able to find Eigen in either eigen3/ or eigen/ and not mix it up with Eigen2.
14 lines
370 B
CMake
14 lines
370 B
CMake
file(GLOB Eigen_directory_files "*")
|
|
foreach(f ${Eigen_directory_files})
|
|
if(NOT(f MATCHES ".txt") AND NOT (f MATCHES "src"))
|
|
list(APPEND Eigen_directory_files_to_install ${f})
|
|
endif()
|
|
endforeach(f ${Eigen_directory_files})
|
|
|
|
install(FILES
|
|
${Eigen_directory_files_to_install}
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/Eigen COMPONENT Devel
|
|
)
|
|
|
|
add_subdirectory(src)
|