diff --git a/openvasd/CMakeLists.txt b/openvasd/CMakeLists.txt index 9ddd45af..4787ee78 100644 --- a/openvasd/CMakeLists.txt +++ b/openvasd/CMakeLists.txt @@ -42,27 +42,6 @@ if (BUILD_SHARED) ${CURL_LDFLAGS} ${LINKER_HARDENING_FLAGS}) endif (BUILD_SHARED) - -## Tests - -if (BUILD_TESTS) - add_executable (openvasd-test - EXCLUDE_FROM_ALL - openvasd_tests.c) - - add_test (openvasd-test openvasd-test) - - target_include_directories (openvasd-test PRIVATE ${CGREEN_INCLUDE_DIRS}) - - target_link_libraries (openvasd-test gvm_base_shared gvm_util_shared - ${CGREEN_LIBRARIES} ${GLIB_LDFLAGS} ${LINKER_HARDENING_FLAGS} - ) - - add_custom_target (tests-openvasd - DEPENDS openvasd-test) - -endif (BUILD_TESTS) - ## Install configure_file (libgvm_openvasd.pc.in ${CMAKE_BINARY_DIR}/libgvm_openvasd.pc @ONLY)