Skip to content

Commit d643d7d

Browse files
authored
Merge pull request #206 from mathworks/mac_dependencies_2
Update dependencies baseline
2 parents 3c486fc + c6df88a commit d643d7d

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ if(WIN32)
423423

424424
if(WITH_OTLP_HTTP)
425425
set(OPENTELEMETRY_PROXY_RUNTIME_LIBRARIES ${OPENTELEMETRY_PROXY_RUNTIME_LIBRARIES}
426-
$<TARGET_FILE:CURL::libcurl>)
426+
$<TARGET_FILE:CURL::libcurl_shared>)
427427
endif()
428428

429429
if(WITH_OTLP_GRPC)
@@ -432,10 +432,8 @@ if(WIN32)
432432
set(OPENSSL_DLL libssl-3-x64.dll)
433433
set(OPENSSL_CRYPTO_DLL libcrypto-3-x64.dll)
434434
set(OPENTELEMETRY_PROXY_RUNTIME_LIBRARIES ${OPENTELEMETRY_PROXY_RUNTIME_LIBRARIES}
435-
$<TARGET_FILE:c-ares::cares>
436435
$<TARGET_FILE_DIR:OpenSSL::SSL>/../bin/${OPENSSL_DLL}
437-
$<TARGET_FILE_DIR:OpenSSL::SSL>/../bin/${OPENSSL_CRYPTO_DLL}
438-
$<TARGET_FILE:re2::re2>)
436+
$<TARGET_FILE_DIR:OpenSSL::SSL>/../bin/${OPENSSL_CRYPTO_DLL})
439437
endif()
440438
else()
441439
set(OTEL_CPP_RUNTIME ${OTEL_CPP_PREFIX}/lib/libopentelemetry_proto${CMAKE_SHARED_LIBRARY_SUFFIX})

cmake/vcpkg_triplets/x64-windows-otel-matlab.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
set(VCPKG_TARGET_ARCHITECTURE x64)
22
set(VCPKG_CRT_LINKAGE dynamic)
3-
# Conflict with abseil_dll.dll used by Simulink. Use static library to avoid conflict.
4-
if(${PORT} MATCHES "abseil")
3+
# Conflict with abseil_dll.dll used by Simulink. cares.dll and re2.dll are also shipped with MATLAB.
4+
# Use static libraries to avoid conflict.
5+
if(${PORT} MATCHES "(abseil|c-ares|re2)")
56
set(VCPKG_LIBRARY_LINKAGE static)
67
else()
78
set(VCPKG_LIBRARY_LINKAGE dynamic)

vcpkg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
]
2626
}
2727
},
28-
"builtin-baseline": "638b1588be3a265a9c7ad5b212cef72a1cad336a"
28+
"builtin-baseline": "f7423ee180c4b7f40d43402c2feb3859161ef625"
2929
}

0 commit comments

Comments
 (0)