Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion olp-cpp-sdk-core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2019-2024 HERE Europe B.V.
# Copyright (C) 2019-2025 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 @@ -524,10 +524,12 @@ if(IOS)
endif()

find_library(OLP_SDK_CORE_FOUNDATION_FRAMEWORK CoreFoundation)
find_library(OLP_SDK_FOUNDATION_FRAMEWORK Foundation)
find_library(OLP_SDK_SECURITY_FRAMEWORK Security)
find_library(OLP_SDK_CFNETWORK_FRAMEWORK CFNetwork)

target_link_libraries(${PROJECT_NAME} PRIVATE ${OLP_SDK_CORE_FOUNDATION_FRAMEWORK}
${OLP_SDK_FOUNDATION_FRAMEWORK}
${OLP_SDK_SECURITY_FRAMEWORK}
${OLP_SDK_CFNETWORK_FRAMEWORK})
elseif(ANDROID AND NOT OLP_SDK_ENABLE_ANDROID_CURL AND NOT OLP_SDK_ENABLE_OFFLINE_MODE)
Expand Down
Loading