tests: Fix build script to work also on MacOS correctly

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2025-07-25 16:40:53 +02:00
parent ab44f606b2
commit c2e9d39dbe

View File

@@ -24,9 +24,10 @@ if (NOT WIN32)
pthread)
endif(NOT WIN32)
if (WITH_GSSAPI AND GSSAPI_FOUND)
find_package(OpenSSL 1.1.1 REQUIRED)
set(TORTURE_LINK_LIBRARIES
${TORTURE_LINK_LIBRARIES}
crypto)
OpenSSL::Crypto)
endif (WITH_GSSAPI AND GSSAPI_FOUND)
# create test library