From 8f076f6817504bc2c643467b1efd7c89cde4e378 Mon Sep 17 00:00:00 2001 From: Cyrille Berger Date: Sat, 8 May 2010 17:55:55 -0400 Subject: [PATCH] fix installation of global headers in case the src path contains 'src' --- Eigen/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/CMakeLists.txt b/Eigen/CMakeLists.txt index af90db2fe..2d96726d4 100644 --- a/Eigen/CMakeLists.txt +++ b/Eigen/CMakeLists.txt @@ -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})