SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/tests) INCLUDE_DIRECTORIES(${gtest_INCLUDE_DIRS}) ADD_SUBDIRECTORY(src) IF (ENABLE_ACTIVE_TESTS AND LIBTINS_ENABLE_PCAP) ADD_SUBDIRECTORY(active_tests) ENDIF()