zint/backend_qt/CMakeLists.txt

23 lines
659 B
CMake
Raw Normal View History

2008-09-19 02:44:52 +12:00
# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >
project(QZint)
2008-09-26 23:39:06 +12:00
include_directories(BEFORE "${CMAKE_SOURCE_DIR}/backend" )
2008-09-19 02:44:52 +12:00
set(QZint_SRCS qzint.cpp)
QT5_WRAP_CPP(QZint_SRCS qzint.h)
2008-09-19 02:44:52 +12:00
add_library(QZint SHARED ${QZint_SRCS})
2009-08-11 06:39:32 +12:00
set_target_properties(QZint PROPERTIES SOVERSION "${ZINT_VERSION_MAJOR}.${ZINT_VERSION_MINOR}"
VERSION ${ZINT_VERSION})
2008-09-19 02:44:52 +12:00
add_dependencies(QZint zint)
2008-09-26 23:39:06 +12:00
link_directories( "${CMAKE_BINARY_DIR}/backend" )
2008-09-19 02:44:52 +12:00
2016-12-12 04:29:06 +13:00
target_link_libraries(QZint zint Qt5::Widgets Qt5::Gui )
2008-09-19 02:44:52 +12:00
2008-09-24 21:00:44 +12:00
install(TARGETS QZint ${INSTALL_TARGETS_DEFAULT_ARGS} )
install(FILES qzint.h DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel)