mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Fix opensuse compilation
This commit is contained in:
parent
b85039e746
commit
75ba28c1f2
@ -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}
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user