aboutsummaryrefslogtreecommitdiff
path: root/modules/FindPyQt4.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindPyQt4.cmake')
-rw-r--r--modules/FindPyQt4.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/FindPyQt4.cmake b/modules/FindPyQt4.cmake
index 68a82cbc..37f645ea 100644
--- a/modules/FindPyQt4.cmake
+++ b/modules/FindPyQt4.cmake
@@ -19,6 +19,8 @@
# PYQT4_VERSION_TAG - The PyQt version tag using by PyQt's sip files.
#
# PYQT4_SIP_DIR - The directory holding the PyQt4 .sip files.
+#
+# PYQT4_SIP_FLAGS - The SIP flags used to build PyQt.
IF(EXISTS PYQT4_VERSION)
# Already in cache, be silent
@@ -33,6 +35,8 @@ ELSE(EXISTS PYQT4_VERSION)
STRING(REGEX REPLACE ".*\npyqt_version_str:([^\n]+).*$" "\\1" PYQT4_VERSION_STR ${pyqt_config})
STRING(REGEX REPLACE ".*\npyqt_version_tag:([^\n]+).*$" "\\1" PYQT4_VERSION_TAG ${pyqt_config})
STRING(REGEX REPLACE ".*\npyqt_sip_dir:([^\n]+).*$" "\\1" PYQT4_SIP_DIR ${pyqt_config})
+ STRING(REGEX REPLACE ".*\npyqt_sip_flags:([^\n]+).*$" "\\1" PYQT4_SIP_FLAGS ${pyqt_config})
+
SET(PYQT4_FOUND TRUE)
ENDIF(pyqt_config)