summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-policies.7.rst
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-12-26 13:57:02 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-01-04 10:28:57 (GMT)
commitd98ea6c0b872392b29d5cbe78767bb741a17d68f (patch)
treed8e2b5f7fef0c5c38234b7cc862899d639d4e898 /Help/manual/cmake-policies.7.rst
parentea78935f62b5c2779e2f81dac5ec5f80a03fa1be (diff)
downloadCMake-d98ea6c0b872392b29d5cbe78767bb741a17d68f.zip
CMake-d98ea6c0b872392b29d5cbe78767bb741a17d68f.tar.gz
CMake-d98ea6c0b872392b29d5cbe78767bb741a17d68f.tar.bz2
Help: Mark some code blocks as containing cmake code.
Diffstat (limited to 'Help/manual/cmake-policies.7.rst')
-rw-r--r--Help/manual/cmake-policies.7.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst
index d467c36..9138660 100644
--- a/Help/manual/cmake-policies.7.rst
+++ b/Help/manual/cmake-policies.7.rst
@@ -22,7 +22,9 @@ The :command:`cmake_minimum_required` command does more than report an
error if a too-old version of CMake is used to build a project. It
also sets all policies introduced in that CMake version or earlier to
NEW behavior. To manage policies without increasing the minimum required
-CMake version, the :command:`if(POLICY)` command may be used::
+CMake version, the :command:`if(POLICY)` command may be used:
+
+.. code-block:: cmake
if(POLICY CMP0990)
cmake_policy(SET CMP0990 NEW)