Skip to content

Commit

Permalink
Python is a hard build time dependency
Browse files Browse the repository at this point in the history
Followup 709c143
  • Loading branch information
m-kuhn committed Sep 19, 2015
1 parent f631ff8 commit f16fe73
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f16fe73

Please sign in to comment.