[opengm] 23/50: Register BUILD_PYTHON_DOCS as a CMake build option

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Nov 1 17:14:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository opengm.

commit 4adc665b51b2b3ffdfcfa0fd499ad648f07ac851
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Thu Oct 22 16:10:40 2015 +0100

    Register BUILD_PYTHON_DOCS as a CMake build option
---
 src/interfaces/python/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/interfaces/python/CMakeLists.txt b/src/interfaces/python/CMakeLists.txt
index 7e0c7d1..530753c 100644
--- a/src/interfaces/python/CMakeLists.txt
+++ b/src/interfaces/python/CMakeLists.txt
@@ -11,7 +11,7 @@ else()
    file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/examples/ DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/examples )
 endif()
 
-set( BUILD_PYTHON_DOCS 0 CACHE BOOL "Build the Python documentation with Sphinx" )
+option(BUILD_PYTHON_DOCS "Build the Python documentation with Sphinx" OFF)
 
 if(BUILD_PYTHON_DOCS)
     find_package(SPHINX REQUIRED)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opengm.git



More information about the debian-science-commits mailing list