Skip to content

Commit

Permalink
Add libssl to the list of network libraries (#1382)
Browse files Browse the repository at this point in the history
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 <ext-andrey.kashcheev@here.com>
  • Loading branch information
andrey-kashcheev authored Mar 3, 2023
1 parent f31d032 commit 122f3ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion olp-cpp-sdk-core/cmake/curl.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2019-2022 HERE Europe B.V.
# Copyright (C) 2019-2023 HERE Europe B.V.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -38,6 +38,7 @@ if(CURL_FOUND AND NOT NETWORK_NO_CURL)

if(OPENSSL_FOUND)
add_definitions(-DOLP_SDK_NETWORK_HAS_OPENSSL)
set(OLP_SDK_NETWORK_CURL_LIBRARIES ${OLP_SDK_NETWORK_CURL_LIBRARIES} ${OPENSSL_SSL_LIBRARY})

option(OLP_SDK_USE_LIBCRYPTO "Enables the libcrypto dependency" ON)

Expand Down

0 comments on commit 122f3ea

Please sign in to comment.