From: Michael Casadevall <mcasadevall@debian.org>
Subject: Respect Qt SIP flags
Forwarded: no
Origin:
Last-Update: 2009-04-15
Corrects FTBFS on armel by making sure pykde4 properly parses the python-qt4
flags passed from PythonQt4's cmake file.
old
|
new
|
include_directories( |
101 | 101 | ${KDEPIMLIBS_INCLUDE_DIRS} |
102 | 102 | ) |
103 | 103 | |
| 104 | # Pull in ARM configuration options if needed |
| 105 | STRING(REGEX MATCH "PyQt_qreal_double" SIP_ARM_HACK ${PYQT4_SIP_FLAGS} "") |
| 106 | |
104 | 107 | set(SIP_INCLUDES ${CMAKE_BINARY_DIR} ${PYQT4_SIP_DIR} sip) |
105 | 108 | set(SIP_CONCAT_PARTS 8) |
106 | 109 | if (WIN32) |
… |
… |
if (WIN32) |
108 | 111 | else () |
109 | 112 | set(SIP_TAGS ALL WS_X11 ${PYQT4_VERSION_TAG}) |
110 | 113 | endif () |
111 | | set(SIP_DISABLE_FEATURES VendorID PyQt_NoPrintRangeBug) |
| 114 | set(SIP_DISABLE_FEATURES VendorID PyQt_NoPrintRangeBug ${SIP_ARM_HACK}) |
112 | 115 | |
113 | 116 | set(SIP_FILES_INSTALL_DIR ${SHARE_INSTALL_PREFIX}/sip) |
114 | 117 | |