From d4e26b7e881f97f1cef31b789a7252708cf1c06b Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 8 Dec 2009 11:27:38 -0500 Subject: [PATCH] Remove useless include file filters The commit "Cleanup regular expressions" removed real include filter expressions and replaced them with lines like INCLUDE_REGULAR_EXPRESSION("^.*$") that do no filtering. We simplify the change by removing the lines altogether. --- CMakeLists.txt | 1 - Utilities/cmcurl/CMakeLists.txt | 2 -- Utilities/cmexpat/CMakeLists.txt | 1 - Utilities/cmzlib/CMakeLists.txt | 3 --- 4 files changed, 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 34fdf1ed7c..40ec9ad38b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -346,7 +346,6 @@ SET(EXECUTABLE_OUTPUT_PATH ${CMake_BINARY_DIR}/bin CACHE INTERNAL "Where to put the executables for CMake") SET(LIBRARY_OUTPUT_PATH "" CACHE INTERNAL "Where to put the libraries for CMake") -INCLUDE_REGULAR_EXPRESSION("^.*$") # The CMake executables usually do not need any rpath to run in the build or # install tree. diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt index 2a8a616ca6..eef258f796 100644 --- a/Utilities/cmcurl/CMakeLists.txt +++ b/Utilities/cmcurl/CMakeLists.txt @@ -4,8 +4,6 @@ IF(COMMAND CMAKE_POLICY) ENDIF(COMMAND CMAKE_POLICY) PROJECT(LIBCURL C) -INCLUDE_REGULAR_EXPRESSION("^.*$") - # Setup package meta-data SET(PACKAGE "curl") SET(VERSION "7.16.1") diff --git a/Utilities/cmexpat/CMakeLists.txt b/Utilities/cmexpat/CMakeLists.txt index 7dd8329f11..b75c11232c 100644 --- a/Utilities/cmexpat/CMakeLists.txt +++ b/Utilities/cmexpat/CMakeLists.txt @@ -1,5 +1,4 @@ PROJECT(CMEXPAT) -INCLUDE_REGULAR_EXPRESSION("^.*$") SET(expat_SRCS xmlparse.c diff --git a/Utilities/cmzlib/CMakeLists.txt b/Utilities/cmzlib/CMakeLists.txt index 5ee43e384d..c42a434858 100644 --- a/Utilities/cmzlib/CMakeLists.txt +++ b/Utilities/cmzlib/CMakeLists.txt @@ -6,9 +6,6 @@ INCLUDE_DIRECTORIES( "${CMZLIB_BINARY_DIR}/.." ) -# Match all headers for dependencies but complain about none. -INCLUDE_REGULAR_EXPRESSION("^.*$") - # source files for zlib SET(ZLIB_SRCS adler32.c compress.c crc32.c deflate.c gzio.c inffast.c