123456789101112131415161718 |
- cmake_minimum_required(VERSION 2.8)
- set(CMAKE_CXX_STANDARD 17)
- set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/../.cmake_modules/")
- message("${CMAKE_MODULE_PATH}")
- project(ccats)
- # dependencies used by server and tests
- find_package(Threads REQUIRED)
- find_package(Boost 1.67 REQUIRED COMPONENTS system filesystem)
- find_package(Jsoncpp REQUIRED)
- include(src/CMakeLists.txt)
- if(ENABLE_TESTS)
- include(test/CMakeLists.txt)
- endif()
|