summaryrefslogtreecommitdiffstats
path: root/main/CMakeLists.txt
blob: b912f987b8ac3bdaf025e30adcafc1f82c52da7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
include_directories(../src)
set(CMAKE_INCLUDE_CURRENT_DIR ON)

file(GLOB TS_FILES "../localization/*.ts")
set_source_files_properties(${TS_FILES} PROPERTIES OUTPUT_LOCATION localization)
qt5_add_translation(QM_FILES ${TS_FILES})

set(CMAKE_INCLUDE_CURRENT_DIR ON)

add_executable(qtpass
        main.cpp
        ../resources.qrc)

target_link_libraries(qtpass qtpasslib Qt5::Widgets Qt5::Network Qt5::Svg)
add_compile_definitions(QAPPLICATION_CLASS=QApplication)