blob: a9c38159ba06eb2c44422f137210622146b1d5bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
base/CMakeLists.txt | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/base/CMakeLists.txt b/base/CMakeLists.txt
index b798f85..c724473 100644
--- a/base/CMakeLists.txt
+++ b/base/CMakeLists.txt
@@ -100,24 +100,6 @@ endif (OPENVAS_PID_DIR)
add_custom_indent_targets (${FILES})
-# Link the test-hosts executable
-if (BUILD_SHARED)
- add_executable (test-hosts test-hosts.c)
- target_link_libraries (test-hosts openvas_base_shared openvas_misc_shared ${GLIB_LDFLAGS} -lgcrypt
- "${GPGME_LDFLAGS}" -lgnutls "${PCAP_LDFLAGS}" -lresolv -lm ${WMI_LIBS}
- ${GPGME_LDFLAGS} ${LIBSSH_LDFLAGS} ${KSBA_LDFLAGS} ${WINCMD_LIBS})
- set_target_properties (test-hosts PROPERTIES COMPILE_FLAGS
- "${GLIB_CFLAGS} ${GPGME_CFLAGS} ${LIBSSH_CFLAGS} ${KSBA_CFLAGS}")
-endif (BUILD_SHARED)
-if (BUILD_STATIC)
- add_executable (test-hosts test-hosts.c)
- target_link_libraries (test-hosts openvas_base_static openvas_misc_static ${GLIB_LDFLAGS} -lgcrypt
- "${GPGME_LDFLAGS}" -lgnutls "${PCAP_LDFLAGS}" -lresolv -lm ${WMI_LIBS}
- ${GPGME_LDFLAGS} ${LIBSSH_LDFLAGS} ${KSBA_LDFLAGS} ${WINCMD_LIBS})
- set_target_properties (test-hosts PROPERTIES COMPILE_FLAGS
- "${GLIB_CFLAGS} ${GPGME_CFLAGS} ${LIBSSH_CFLAGS} ${KSBA_CFLAGS}")
-endif (BUILD_STATIC)
-
## Install
if (BUILD_STATIC)
install (TARGETS openvas_base_static
|