summaryrefslogtreecommitdiffstats
path: root/PySide
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-05-05 16:46:58 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2011-05-05 16:46:58 -0300
commit2d5207b32c742b084c7c6a0ca6649f82eaeafaef (patch)
treedb5212f2579315c7e9d90e6f16fbfc5f869f66ff /PySide
parent206474a5a3e6ae7a6a36701a8f30d7ed73280546 (diff)
downloadpyside-2d5207b32c742b084c7c6a0ca6649f82eaeafaef.tar.gz
pyside-2d5207b32c742b084c7c6a0ca6649f82eaeafaef.tar.xz
pyside-2d5207b32c742b084c7c6a0ca6649f82eaeafaef.zip
Fix path of pysideqmlregistertype.cpp.
Diffstat (limited to 'PySide')
-rw-r--r--PySide/QtDeclarative/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/PySide/QtDeclarative/CMakeLists.txt b/PySide/QtDeclarative/CMakeLists.txt
index 170c0e9..01cf877 100644
--- a/PySide/QtDeclarative/CMakeLists.txt
+++ b/PySide/QtDeclarative/CMakeLists.txt
@@ -1,9 +1,6 @@
project(QtDeclarative)
-EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_CURRENT_SOURCE_DIR}/pysideqmlregistertype.cpp"
- "${CMAKE_CURRENT_BINARY_DIR}/PySide/QtDeclarative/pysideqmlregistertype.cpp")
-
-set(QtDeclarative_registerType "${CMAKE_CURRENT_BINARY_DIR}/PySide/QtDeclarative/pysideqmlregistertype.cpp")
+set(QtDeclarative_registerType "${CMAKE_CURRENT_SOURCE_DIR}/pysideqmlregistertype.cpp")
set(QtDeclarative_SRC
${CMAKE_CURRENT_BINARY_DIR}/PySide/QtDeclarative/qdeclarativecomponent_wrapper.cpp