From 75ba28c1f2570f59ae0a97c71b71a9e45cd3f531 Mon Sep 17 00:00:00 2001 From: taipanromania Date: Mon, 25 May 2009 18:40:32 +0000 Subject: [PATCH] Fix opensuse compilation --- CMakeLists.txt | 1 + frontend_qt4/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fae60f8a..c87695f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,6 +52,7 @@ find_package(Qt4) if (QT4_FOUND) set( QT_USE_QTGUI TRUE ) set( QT_USE_QTUITOOLS TRUE ) + set( QT_USE_QTXML TRUE ) include( ${QT_USE_FILE} ) include_directories( ${CMAKE_CURRENT_SOURCE_DIR} diff --git a/frontend_qt4/CMakeLists.txt b/frontend_qt4/CMakeLists.txt index 149366ce..13489942 100644 --- a/frontend_qt4/CMakeLists.txt +++ b/frontend_qt4/CMakeLists.txt @@ -19,7 +19,7 @@ add_dependencies(QZint_frontend QZint zint) link_directories( "${CMAKE_BINARY_DIR}/backend" "${CMAKE_BINARY_DIR}/backend_qt4" ) -target_link_libraries(QZint_frontend zint QZint ${QT_QTUITOOLS_LIBRARY} ${QT_QTGUI_LIBRARY} +target_link_libraries(QZint_frontend zint QZint ${QT_QTUITOOLS_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY} ) install(TARGETS QZint_frontend DESTINATION "${BIN_INSTALL_DIR}" RUNTIME)