mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
b0baf43114
Only CMake 2.6.3 and later recognize this syntax, and at the moment we require 2.6.2. CMake uses the right precendence, per its man page, so the parentheses are not necessary.
14 lines
367 B
CMake
14 lines
367 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)
|