1CMP0001 2------- 3 4``CMAKE_BACKWARDS_COMPATIBILITY`` should no longer be used. 5 6The behavior is to check ``CMAKE_BACKWARDS_COMPATIBILITY`` and present 7it to the user. The ``NEW`` behavior is to ignore 8CMAKE_BACKWARDS_COMPATIBILITY completely. 9 10In CMake 2.4 and below the variable ``CMAKE_BACKWARDS_COMPATIBILITY`` was 11used to request compatibility with earlier versions of CMake. In 12CMake 2.6 and above all compatibility issues are handled by policies 13and the :command:`cmake_policy` command. However, CMake must still check 14``CMAKE_BACKWARDS_COMPATIBILITY`` for projects written for CMake 2.4 and 15below. 16 17This policy was introduced in CMake version 2.6.0. CMake version 18|release| warns when the policy is not set and uses ``OLD`` behavior. Use 19the :command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly. 20 21.. include:: DEPRECATED.txt 22