CMakeLists.txt 408 B

1234567891011121314151617
  1. cmake_minimum_required(VERSION 2.8)
  2. set(CMAKE_CXX_STANDARD 11)
  3. set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/../.cmake_modules/")
  4. project(ccats-cli)
  5. find_package(Threads)
  6. find_package(OpenSSL REQUIRED)
  7. find_package(Boost 1.70 REQUIRED COMPONENTS system program_options)
  8. find_package(Jsoncpp REQUIRED)
  9. include(src/CMakeLists.txt)
  10. if(ENABLE_TESTS)
  11. include(test/CMakeLists.txt)
  12. endif()