您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

CMakeLists.txt 302B

12345678910
  1. cmake_minimum_required(VERSION 2.8)
  2. set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/")
  3. project(pdns-slave)
  4. find_package(JsonCpp REQUIRED)
  5. find_package(GTest)
  6. add_subdirectory(src)
  7. if (GTEST_FOUND)
  8. enable_testing()
  9. add_subdirectory(tests)
  10. endif (GTEST_FOUND)