summaryrefslogtreecommitdiffstats
path: root/PySide/QtWebKit
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-02-26 14:32:04 -0300
committerHugo Lima <hugo.lima@openbossa.org>2010-02-26 15:40:05 -0300
commit915a34b39ff192b1f6c057721f326cd0d36588ec (patch)
treedc78de4358a5401afdb0a321d6898895a9e5b793 /PySide/QtWebKit
parent9639df1818207f6073b22ff6d3890c8d09bc12ce (diff)
downloadshiboken-915a34b39ff192b1f6c057721f326cd0d36588ec.tar.gz
shiboken-915a34b39ff192b1f6c057721f326cd0d36588ec.tar.xz
shiboken-915a34b39ff192b1f6c057721f326cd0d36588ec.zip
Do not link QtWebkit module against other modules.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Diffstat (limited to 'PySide/QtWebKit')
-rw-r--r--PySide/QtWebKit/CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/PySide/QtWebKit/CMakeLists.txt b/PySide/QtWebKit/CMakeLists.txt
index e7e11e45..41f45fb1 100644
--- a/PySide/QtWebKit/CMakeLists.txt
+++ b/PySide/QtWebKit/CMakeLists.txt
@@ -61,17 +61,16 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}
${QtNetwork_BINARY_DIR}/PySide/QtNetwork/
)
-add_library(QtWebKit SHARED ${QtWebKit_SRC})
+add_library(QtWebKit MODULE ${QtWebKit_SRC})
set_property(TARGET QtWebKit PROPERTY PREFIX "")
target_link_libraries(QtWebKit
pyside
- QtCore
- QtGui
- QtNetwork
${PYTHON_LIBRARIES}
${SHIBOKEN_LIBRARY}
${QT_QTWEBKIT_LIBRARY}
)
+add_dependencies(QtWebKit QtGui)
+add_dependencies(QtWebKit QtNetwork)
# install
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/QtWebKit.so