frontend(_qt)/CMakeLists.txt: add Windows rc files

This commit is contained in:
gitlost 2021-08-12 14:54:21 +01:00
parent 71af3b530e
commit a4c67174cd
3 changed files with 9 additions and 0 deletions

View file

@ -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)