Blob Blame Raw
diff -up pykde4-4.13.97/CMakeLists.txt.203 pykde4-4.13.97/CMakeLists.txt
--- pykde4-4.13.97/CMakeLists.txt.203	2014-08-07 10:22:41.392650212 -0500
+++ pykde4-4.13.97/CMakeLists.txt	2014-08-07 10:23:15.158294656 -0500
@@ -101,6 +101,9 @@ include_directories(
     ${KDEPIMLIBS_INCLUDE_DIRS}
 )
 
+# Pull in ARM configuration options if needed
+STRING(REGEX MATCH "PyQt_qreal_double" SIP_ARM_HACK ${PYQT4_SIP_FLAGS} "")
+
 set(SIP_INCLUDES ${CMAKE_BINARY_DIR} ${PYQT4_SIP_DIR} sip)
 set(SIP_CONCAT_PARTS 8)
 if (WIN32)
@@ -108,7 +111,7 @@ if (WIN32)
 else ()
     set(SIP_TAGS ALL WS_X11 ${PYQT4_VERSION_TAG})
 endif ()
-set(SIP_DISABLE_FEATURES VendorID PyQt_NoPrintRangeBug)
+set(SIP_DISABLE_FEATURES VendorID PyQt_NoPrintRangeBug ${SIP_ARM_HACK})
 
 set(SIP_FILES_INSTALL_DIR ${SIP_DEFAULT_SIP_DIR})