tdlight/example/cpp/CMakeLists.txt
levlam 7b4e8c9e12 Increase version to 1.3.4.
GitOrigin-RevId: 81c40d23a07376167adf2cb14369b30aa81417ff
2018-11-29 02:51:10 +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.3.4 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)