summaryrefslogtreecommitdiffstats
path: root/Utilities/Sphinx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-04 19:14:29 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-04 19:22:27 (GMT)
commite1f819664b7d2c2a26342a2d277e95f194ed71d7 (patch)
tree4c46eaca58fdbe4286b146bf2f44732527a37ea7 /Utilities/Sphinx
parentedc7cc967dbec540bdb333a00e62581e010882c3 (diff)
downloadCMake-e1f819664b7d2c2a26342a2d277e95f194ed71d7.zip
CMake-e1f819664b7d2c2a26342a2d277e95f194ed71d7.tar.gz
CMake-e1f819664b7d2c2a26342a2d277e95f194ed71d7.tar.bz2
Help: Configure |version| replacement correctly
Fix our configuration of the Sphinx conf.py 'version' entry to refer to the correctly-spelled CMake_VERSION_(MAJOR|MINOR|PATCH) variables.
Diffstat (limited to 'Utilities/Sphinx')
-rw-r--r--Utilities/Sphinx/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/Sphinx/CMakeLists.txt b/Utilities/Sphinx/CMakeLists.txt
index ca1defc..3b0b335 100644
--- a/Utilities/Sphinx/CMakeLists.txt
+++ b/Utilities/Sphinx/CMakeLists.txt
@@ -38,7 +38,7 @@ endif()
set(conf_docs "${CMake_SOURCE_DIR}/Help")
set(conf_path "${CMAKE_CURRENT_SOURCE_DIR}")
-set(conf_version "${CMake_MAJOR_VERSION}.${CMake_MINOR_VERSION}.${CMake_PATCH_VERSION}")
+set(conf_version "${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}.${CMake_VERSION_PATCH}")
set(conf_release "${CMake_VERSION}")
configure_file(conf.py.in conf.py @ONLY)