mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-03 06:50:57 +08:00
fix installation of global headers in case the src path contains 'src'
This commit is contained in:
parent
0928c40f68
commit
8f076f6817
@ -1,6 +1,6 @@
|
||||
file(GLOB Eigen_directory_files "*")
|
||||
foreach(f ${Eigen_directory_files})
|
||||
if(NOT f MATCHES ".txt" AND NOT f MATCHES "src")
|
||||
if(NOT f MATCHES ".txt" AND NOT f MATCHES "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
||||
list(APPEND Eigen_directory_files_to_install ${f})
|
||||
endif()
|
||||
endforeach(f ${Eigen_directory_files})
|
||||
|
Loading…
Reference in New Issue
Block a user