You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 375B

1234567891011121314151617181920
  1. cmake_minimum_required(VERSION 3.9)
  2. project(qdnsagg)
  3. set(CMAKE_INCLUDE_CURRENT_DIR ON)
  4. set(CMAKE_AUTOMOC ON)
  5. set(CMAKE_CXX_STANDARD 17)
  6. find_package(Qt5Core REQUIRED)
  7. find_package(Qt5Network REQUIRED)
  8. set(PROJECT_LIBS Qt5::Core Qt5::Network)
  9. add_subdirectory(src)
  10. find_package(GTest)
  11. if (GTEST_FOUND)
  12. enable_testing()
  13. add_subdirectory(tests)
  14. endif (GTEST_FOUND)