Fix CUTTER_ENABLE_PYTHON_BINDINGS in cmake

This commit is contained in:
Florian Märkl 2019-02-16 11:23:33 +01:00
parent f945ebf9ae
commit aaf88e85aa

View File

@ -104,7 +104,7 @@ or, if you don't want to build with Python at all, use -DCUTTER_ENABLE_PYTHON=OF
include_directories(${SHIBOKEN_INCLUDE_DIR})
include_directories(${PYSIDE_INCLUDE_DIR} ${PYSIDE_INCLUDE_DIR}/QtCore ${PYSIDE_INCLUDE_DIR}/QtGui ${PYSIDE_INCLUDE_DIR}/QtWidgets)
add_definitions(-DCUTTER_ENABLE_PYTHON)
add_definitions(-DCUTTER_ENABLE_PYTHON_BINDINGS)
endif()
endif()