From c2e9d39dbe63936354b50d70ff6a38c811dada69 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Fri, 25 Jul 2025 16:40:53 +0200 Subject: [PATCH] tests: Fix build script to work also on MacOS correctly Signed-off-by: Jakub Jelen Reviewed-by: Andreas Schneider --- tests/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 3f850813..e8f4d9c6 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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