From df3b762e3654ea1d0b1348dac97f132f859f2f0b Mon Sep 17 00:00:00 2001 From: Juan Jose Nicola Date: Wed, 17 Jul 2024 07:05:14 -0300 Subject: [PATCH] fix CMakeLists.txt --- openvasd/CMakeLists.txt | 21 --------------------- 1 file changed, 21 deletions(-) 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)