Python is a hard build time dependency

Followup 709c143
This commit is contained in:
Matthias Kuhn 2015-09-20 00:13:37 +02:00
parent f631ff8b81
commit f16fe73476

View File

@ -662,13 +662,17 @@ IF (UNIX AND NOT APPLE)
ENDIF (UNIX AND NOT APPLE)
#############################################################
# Python build dependency
FIND_PACKAGE(PythonInterp REQUIRED)
#############################################################
# Python bindings
IF (WITH_BINDINGS)
# python support: check for interpreter, sip, pyqt4
FIND_PACKAGE(PythonInterp REQUIRED)
FIND_PACKAGE(PythonLibrary REQUIRED)
FIND_PACKAGE(SIP REQUIRED)
FIND_PACKAGE(PyQt4 REQUIRED)