Fix opensuse compilation

This commit is contained in:
taipanromania 2009-05-25 18:40:32 +00:00
parent b85039e746
commit 75ba28c1f2
2 changed files with 2 additions and 1 deletions

View File

@ -52,6 +52,7 @@ find_package(Qt4)
if (QT4_FOUND) if (QT4_FOUND)
set( QT_USE_QTGUI TRUE ) set( QT_USE_QTGUI TRUE )
set( QT_USE_QTUITOOLS TRUE ) set( QT_USE_QTUITOOLS TRUE )
set( QT_USE_QTXML TRUE )
include( ${QT_USE_FILE} ) include( ${QT_USE_FILE} )
include_directories( include_directories(
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}

View File

@ -19,7 +19,7 @@ add_dependencies(QZint_frontend QZint zint)
link_directories( "${CMAKE_BINARY_DIR}/backend" "${CMAKE_BINARY_DIR}/backend_qt4" ) 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} ) ${QT_QTCORE_LIBRARY} )
install(TARGETS QZint_frontend DESTINATION "${BIN_INSTALL_DIR}" RUNTIME) install(TARGETS QZint_frontend DESTINATION "${BIN_INSTALL_DIR}" RUNTIME)