tdlight/example/cpp/CMakeLists.txt
levlam d7e7b6291a Update version to 1.4.1.
GitOrigin-RevId: 72edbce5e8a0e3803c9ec2433c1604e2a307ea3c
2019-06-27 02:50:09 +03:00

14 lines
451 B
CMake

cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
project(TdExample VERSION 1.0 LANGUAGES CXX)
find_package(Td 1.4.1 REQUIRED)
add_executable(tdjson_example tdjson_example.cpp)
target_link_libraries(tdjson_example PRIVATE Td::TdJson)
set_property(TARGET tdjson_example PROPERTY CXX_STANDARD 11)
add_executable(td_example td_example.cpp)
target_link_libraries(td_example PRIVATE Td::TdStatic)
set_property(TARGET td_example PROPERTY CXX_STANDARD 14)