18 lines
467 B
CMake
18 lines
467 B
CMake
cmake_minimum_required(VERSION 3.11)
|
|
|
|
project(App CXX)
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
|
conan_basic_setup()
|
|
|
|
find_package(Boost 1.84.0 REQUIRED)
|
|
if(Boost_FOUND)
|
|
include_directories(${Boost_INCLUDE_DIRS})
|
|
endif()
|
|
|
|
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
|
find_package(Threads REQUIRED)
|
|
|
|
add_executable(application src/main.cpp src/helpers.h src/helper.cpp src/sdk.h)
|
|
target_link_libraries(application PRIVATE Threads::Threads) |