Skip to content

Commit

Permalink
fix CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnicola committed Jul 17, 2024
1 parent 8cfc66d commit df3b762
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions openvasd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit df3b762

Please sign in to comment.