aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-02-19 19:10:11 -0200
committerHugo Lima <hugo.lima@openbossa.org>2010-02-19 19:14:23 -0200
commiteaaa562f9c52d924476b7f8635d5529891955271 (patch)
tree938ac4ce147c0d2bc6b6aa87990050d4297463f6
parent5bf7e701e7f598287a460682ad4468a2460a9932 (diff)
QtGui and QtNetwork uses the global header from QtCore, so they must be compiled after QtCore.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
-rw-r--r--PySide/QtGui/CMakeLists.txt1
-rw-r--r--PySide/QtNetwork/CMakeLists.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/PySide/QtGui/CMakeLists.txt b/PySide/QtGui/CMakeLists.txt
index d22d28fcd..983d5031d 100644
--- a/PySide/QtGui/CMakeLists.txt
+++ b/PySide/QtGui/CMakeLists.txt
@@ -470,6 +470,7 @@ target_link_libraries(QtGui
${SHIBOKEN_LIBRARY}
${QT_QTGUI_LIBRARY}
)
+add_dependencies(QtGui QtCore)
# install
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/QtGui.so DESTINATION "${SITE_PACKAGE}/PySide")
diff --git a/PySide/QtNetwork/CMakeLists.txt b/PySide/QtNetwork/CMakeLists.txt
index 9942d0a80..d52d23198 100644
--- a/PySide/QtNetwork/CMakeLists.txt
+++ b/PySide/QtNetwork/CMakeLists.txt
@@ -110,6 +110,7 @@ target_link_libraries(QtNetwork
${SHIBOKEN_LIBRARY}
${QT_QTNETWORK_LIBRARY}
)
+add_dependencies(QtNetwork QtCore)
# install
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/QtNetwork.so