Skip to content

Commit 122f3ea

Browse files
Add libssl to the list of network libraries (#1382)
libssl should be explicitly specified in the list in order to not produce link errors when Data SDK is being built for Android Relates-To: OLPSUP-22663 Signed-off-by: Andrey Kashcheev <[email protected]>
1 parent f31d032 commit 122f3ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

olp-cpp-sdk-core/cmake/curl.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2019-2022 HERE Europe B.V.
1+
# Copyright (C) 2019-2023 HERE Europe B.V.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -38,6 +38,7 @@ if(CURL_FOUND AND NOT NETWORK_NO_CURL)
3838

3939
if(OPENSSL_FOUND)
4040
add_definitions(-DOLP_SDK_NETWORK_HAS_OPENSSL)
41+
set(OLP_SDK_NETWORK_CURL_LIBRARIES ${OLP_SDK_NETWORK_CURL_LIBRARIES} ${OPENSSL_SSL_LIBRARY})
4142

4243
option(OLP_SDK_USE_LIBCRYPTO "Enables the libcrypto dependency" ON)
4344

0 commit comments

Comments
 (0)