From 7d47c693650672afabc46bd200246eb9130582d6 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 18 Oct 2013 11:25:49 -0400 Subject: Drop compatibility with CMake < 2.4 Drop all behavior activated by setting CMAKE_BACKWARDS_COMPATIBILITY to a value lower than 2.4, and generate an error when projects or the user attempt to do so. In the error suggest using a CMake 2.8.x release. Teach cmake_minimum_required to warn about projects that do not require at least CMake 2.4. They are not supported by CMake >= 3.0. Replace the documentation of CMAKE_BACKWARDS_COMPATIBILITY with a reference to policy CMP0001. --- Source/cmFindPackageCommand.h | 1 - 1 file changed, 1 deletion(-) (limited to 'Source/cmFindPackageCommand.h') diff --git a/Source/cmFindPackageCommand.h b/Source/cmFindPackageCommand.h index 1ed071069d..7ceebb2665 100644 --- a/Source/cmFindPackageCommand.h +++ b/Source/cmFindPackageCommand.h @@ -117,7 +117,6 @@ private: unsigned int RequiredCMakeVersion; bool Quiet; bool Required; - bool Compatibility_1_6; bool UseConfigFiles; bool UseFindModules; bool NoUserRegistry; -- cgit v1.2.1