File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,11 @@ if(APPLE)
5656 # use libcurl as a shared library and load the MATLAB version at runtime
5757 # run uname -m to determine whether arm64 or x86_64
5858 exec_program (uname ARGS -m OUTPUT_VARIABLE MAC_HOST_SYSTEM)
59- set (VCPKG_OTEL_TRIPLET ${MAC_HOST_SYSTEM} -osx-otel-matlab)
59+ if (${MAC_HOST_SYSTEM} STREQUAL "arm64" )
60+ set (VCPKG_OTEL_TRIPLET "arm64-osx-otel-matlab" )
61+ elseif (${MAC_HOST_SYSTEM} STREQUAL "x86_64" )
62+ set (VCPKG_OTEL_TRIPLET "x64-osx-otel-matlab" )
63+ endif ()
6064 set (VCPKG_OVERLAY_TRIPLETS ${CMAKE_SOURCE_DIR} /cmake/vcpkg_triplets)
6165 set (VCPKG_TARGET_TRIPLET ${VCPKG_OTEL_TRIPLET} )
6266 set (TRIPLET_DEFINITIONS -DVCPKG_TARGET_TRIPLET=${VCPKG_TARGET_TRIPLET} )
File renamed without changes.
You can’t perform that action at this time.
0 commit comments