tests: Cleanup OpenSSL in tests when GSSAPI is built

also from the fuzzer tests

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2025-06-19 19:08:34 +02:00
committed by Andreas Schneider
parent 62762bbbc9
commit 08a32ac381
5 changed files with 30 additions and 7 deletions

View File

@@ -2,9 +2,7 @@ project(fuzzing CXX)
macro(fuzzer name)
add_executable(${name} ${name}.c)
target_link_libraries(${name}
PRIVATE
ssh::static pthread)
target_link_libraries(${name} PRIVATE ${TORTURE_LINK_LIBRARIES})
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set_target_properties(${name}
PROPERTIES