25 lines
576 B
CMake
25 lines
576 B
CMake
set(_updater_sources
|
|
main.cpp
|
|
UpdateTransaction.h
|
|
UpdateTransaction.cpp
|
|
)
|
|
|
|
add_executable(Updater ${_updater_sources})
|
|
target_compile_features(Updater PRIVATE cxx_std_17)
|
|
target_link_libraries(Updater
|
|
PRIVATE
|
|
Common
|
|
UpdateClientUpdaterLogic
|
|
Qt5::Core
|
|
Qt5::Network
|
|
Qt5::Gui
|
|
Qt5::Widgets
|
|
)
|
|
update_client_link_embedded_resources(Updater)
|
|
update_client_deploy_openssl_runtime(Updater)
|
|
update_client_enable_qt_deployment(Updater)
|
|
|
|
if(WIN32)
|
|
set_target_properties(Updater PROPERTIES WIN32_EXECUTABLE TRUE)
|
|
endif()
|