From 051e30648d95bdfc7737a8b9df331a00493a3dd5 Mon Sep 17 00:00:00 2001 From: Andrew Melim Date: Wed, 14 Dec 2011 02:30:29 +0000 Subject: [PATCH] Added ignore .svn to CMakeLists.txt in 3rdparty when installing --- gtsam/3rdparty/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam/3rdparty/CMakeLists.txt b/gtsam/3rdparty/CMakeLists.txt index 3b2d4d178..ece7bace8 100644 --- a/gtsam/3rdparty/CMakeLists.txt +++ b/gtsam/3rdparty/CMakeLists.txt @@ -9,7 +9,7 @@ install(DIRECTORY Eigen/Eigen file(GLOB eigen_dir_headers_all "Eigen/Eigen/*") foreach(eigen_dir ${eigen_dir_headers_all}) get_filename_component(filename ${eigen_dir} NAME) - if (NOT ((${filename} MATCHES "CMakeLists.txt") OR (${filename} MATCHES "src"))) + if (NOT ((${filename} MATCHES "CMakeLists.txt") OR (${filename} MATCHES "src") OR (${filename} MATCHES ".svn"))) install(FILES Eigen/Eigen/${filename} DESTINATION ${CMAKE_INSTALL_PREFIX}/include/gtsam/3rdparty/Eigen/Eigen) endif() -endforeach(eigen_dir) \ No newline at end of file +endforeach(eigen_dir)