summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2011-08-23 10:21:38 -0300
committerRenato Filho <renato.filho@openbossa.org>2011-08-23 10:21:38 -0300
commit703b4608157ccd3e65c3188d92ff8f514caf5ad1 (patch)
tree1a9c28fdcc7fd62ae9fa68e0cfff2751b3706d35
parente6ac7155a09f66c96428c7e2970fa22dbe60783c (diff)
downloadpyside-703b4608157ccd3e65c3188d92ff8f514caf5ad1.tar.gz
pyside-703b4608157ccd3e65c3188d92ff8f514caf5ad1.tar.xz
pyside-703b4608157ccd3e65c3188d92ff8f514caf5ad1.zip
Fixed build for Qt 4.6.1.0.6.1
-rw-r--r--PySide/QtScript/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/PySide/QtScript/CMakeLists.txt b/PySide/QtScript/CMakeLists.txt
index 88b0a06..024d51f 100644
--- a/PySide/QtScript/CMakeLists.txt
+++ b/PySide/QtScript/CMakeLists.txt
@@ -1,10 +1,10 @@
project(QtScript)
-if (${QT_VERSION_MAJOR} EQUAL 4 AND ${QT_VERSION_MINOR} LESS 6)
- set (QtCore_46_SRC )
+if (${QT_VERSION_MAJOR} EQUAL 4 AND ${QT_VERSION_MINOR} LESS 7)
+ set (QtScript_47_SRC )
else()
- set(QtScript_46_SRC
- ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtScript/qscriptprogram_wrapper.cpp
+ set(QtScript_47_SRC
+ ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtScript/qscriptprogram_wrapper.cpp
)
endif()
@@ -22,7 +22,7 @@ ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtScript/qscriptextensionplugin_wrapper.cpp
${CMAKE_CURRENT_BINARY_DIR}/PySide/QtScript/qscriptstring_wrapper.cpp
${CMAKE_CURRENT_BINARY_DIR}/PySide/QtScript/qscriptvalue_wrapper.cpp
${CMAKE_CURRENT_BINARY_DIR}/PySide/QtScript/qscriptvalueiterator_wrapper.cpp
-${QtScript_46_SRC}
+${QtScript_47_SRC}
)
set(QtScript_typesystem_path "${QtCore_SOURCE_DIR}")