From b0baf43114d3e8fa0bff957636912e93ec8a4e6a Mon Sep 17 00:00:00 2001 From: Jitse Niesen Date: Fri, 20 Nov 2009 11:26:26 +0000 Subject: [PATCH] Eigen/CMakeLists.txt: remove parens from if. 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. --- Eigen/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/CMakeLists.txt b/Eigen/CMakeLists.txt index 321b2978e..af90db2fe 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 "src") list(APPEND Eigen_directory_files_to_install ${f}) endif() endforeach(f ${Eigen_directory_files})