peerplays_migrated/programs/light_client/CMakeLists.txt

22 lines
624 B
CMake
Raw Normal View History

2015-07-10 21:37:22 +00:00
cmake_minimum_required(VERSION 2.8.11)
project(light_client)
# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)
find_package(Qt5Core)
find_package(Qt5Widgets)
find_package(Qt5Quick)
file(GLOB QML qml/*)
qt5_add_resources(QML_QRC qml/qml.qrc)
2015-07-13 17:28:03 +00:00
add_executable(light_client ClientDataModel.cpp ClientDataModel.hpp main.cpp ${QML_QRC} ${QML})
add_dependencies(light_client gen_qrc)
2015-07-10 21:37:22 +00:00
2015-07-13 17:56:30 +00:00
target_link_libraries(light_client PRIVATE Qt5::Core Qt5::Widgets Qt5::Quick graphene_chain graphene_utilities fc graphene_app )