From 5aec139da0dedb7335d52920b6422a1f7540ca12 Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 15 Feb 2011 13:55:48 +0000 Subject: [PATCH] *** empty log message *** --- adm_local/cmake_files/FindSIPPYQT.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/adm_local/cmake_files/FindSIPPYQT.cmake b/adm_local/cmake_files/FindSIPPYQT.cmake index 15cdb6319..916c86a9b 100644 --- a/adm_local/cmake_files/FindSIPPYQT.cmake +++ b/adm_local/cmake_files/FindSIPPYQT.cmake @@ -63,7 +63,11 @@ SET(PYQT_INCLUDES ${PYQT_INCLUDES} -I${PYQT_SIPS}/QtAssistant -I${PYQT_SIPS}/QtD SET(PYQT_INCLUDES ${PYQT_INCLUDES} -I${PYQT_SIPS}/QtNetwork -I${PYQT_SIPS}/QtSql) SET(PYQT_INCLUDES ${PYQT_INCLUDES} -I${PYQT_SIPS}/QtSvg -I${PYQT_SIPS}/QtTest) -EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "import re, pyqtconfig; s=pyqtconfig.Configuration().pyqt_sip_flags;m=re.search('(Qt_[0-9_]+)',s);print m.group(1)" OUTPUT_VARIABLE SUPPORTED) +EXECUTE_PROCESS( + COMMAND ${PYTHON_EXECUTABLE} -c "import re, PyQt4.pyqtconfig ; s = PyQt4.pyqtconfig.Configuration().pyqt_sip_flags ; m = re.search('(Qt_[0-9_]+)',s) ; print m.group(1)" + OUTPUT_VARIABLE SUPPORTED + OUTPUT_STRIP_TRAILING_WHITESPACE + ) IF(WINDOWS) SET(ws_flag WS_WIN) -- 2.39.2