[opengm] 12/50: make Python interpreter a requirement within BUILD_PYTHON_WRAPPER

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Nov 1 17:14:42 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 a7e4be164236b71410618411eaef4ad713b84971
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Oct 21 14:41:07 2015 +0100

    make Python interpreter a requirement within BUILD_PYTHON_WRAPPER
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 11b01be..848471a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -646,7 +646,7 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/opengm" DESTINATION inclu
 #--------------------------------------------------------------
 if(BUILD_PYTHON_WRAPPER)
    #find python
-   FIND_PACKAGE(PythonInterp)
+   FIND_PACKAGE(PythonInterp REQUIRED)
    #find nose
    execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import nose"  RESULT_VARIABLE PYTHON_NOSETESTS_NOT_FOUND)
    # find numpy

-- 
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