mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
frontend(_qt)/CMakeLists.txt: add Windows rc files
This commit is contained in:
parent
71af3b530e
commit
a4c67174cd
@ -1,5 +1,6 @@
|
||||
# Copyright (C) 2008 by BogDan Vatra < bogdan@licentia.eu >
|
||||
# Copyright (C) 2009-2021 Robin Stuart <rstuart114@gmail.com>
|
||||
# vim: set ts=4 sw=4 et :
|
||||
|
||||
project(zint_frontend)
|
||||
|
||||
@ -7,6 +8,10 @@ set(${PROJECT_NAME}_SRCS main.c)
|
||||
|
||||
add_executable(${PROJECT_NAME} ${zint_frontend_SRCS})
|
||||
|
||||
if(WIN32)
|
||||
target_sources(${PROJECT_NAME} PRIVATE zint.rc)
|
||||
endif()
|
||||
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC "${CMAKE_SOURCE_DIR}/backend")
|
||||
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES OUTPUT_NAME "zint")
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 14 KiB |
@ -24,6 +24,10 @@ endif()
|
||||
|
||||
add_executable(${PROJECT_NAME} ${zint-qt_SRCS} resources.qrc)
|
||||
|
||||
if(WIN32)
|
||||
target_sources(${PROJECT_NAME} PRIVATE res/qtZint.rc)
|
||||
endif()
|
||||
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC "${CMAKE_SOURCE_DIR}/backend" "${CMAKE_SOURCE_DIR}/backend_qt")
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} zint QZint Qt${QT_VERSION_MAJOR}::UiTools Qt${QT_VERSION_MAJOR}::Xml Qt${QT_VERSION_MAJOR}::Gui Qt${QT_VERSION_MAJOR}::Core)
|
||||
|
Loading…
Reference in New Issue
Block a user