Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=7e09b1c5cbc565178cb461ed140520ba4f588a1a

commit 7e09b1c5cbc565178cb461ed140520ba4f588a1a
Author: Marius Cirsta <[email protected]>
Date:   Wed Dec 25 23:51:06 2013 +0200

* move FIND_PACKAGE(PythonInterp) so that it will be picked up even if bindings 
are disabled

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6c8f562..01c76af 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -79,6 +79,9 @@ IF(PO4A_FOUND)
SET(HAS_PO4A TRUE CACHE BOOL "Po4a bindings")
ENDIF(PO4A_FOUND)

+#needed for running the tests
+FIND_PACKAGE(PythonInterp)
+
if(NOT DISABLE_BINDINGS)
FIND_PACKAGE(SWIG)
endif(NOT DISABLE_BINDINGS)
@@ -113,7 +116,6 @@ IF(BUILD_SHARED_LIBS AND SWIG_FOUND)
ADD_SUBDIRECTORY(bindings/vala)
ENDIF(VALA_FOUND)

-  FIND_PACKAGE(PythonInterp)
IF(PYTHONINTERP_FOUND)
FIND_PACKAGE(PythonLibs REQUIRED)
SET(HAS_PYTHON TRUE CACHE BOOL "Python bindings")
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to