mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-28 14:04:19 -04:00
Fix opensuse compilation
This commit is contained in:
parent
b85039e746
commit
75ba28c1f2
2 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue