Skip to content

Commit c28f425

Browse files
committed
testapp: Fix location of OpenSSL libraries if WITH_SSL option is given
1 parent f22c436 commit c28f425

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

testapp/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ if(WITH_SSL)
6666
message(STATUS "Using custom OpenSSL libraries at: ${WITH_SSL}")
6767

6868
add_library(openssl INTERFACE)
69-
target_link_directories(openssl INTERFACE "${WITH_SSL}")
69+
# TODO: Is this path correct also on non-Win platforms?
70+
target_link_directories(openssl INTERFACE "${WITH_SSL}/lib")
7071

7172
if(WIN32)
7273
set(ssl_libs libssl libcrypto)

0 commit comments

Comments
 (0)