Skip to content

Commit 39662f8

Browse files
committed
fix a Cmake warning about unused variable VCPKG_OVERLAY_TRIPLETS, fixes
1 parent 7cdcdc7 commit 39662f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ else()
3434
set(VCPKG_OTEL_TRIPLET ${MAC_HOST_SYSTEM}-osx-otel-matlab)
3535
set(VCPKG_OVERLAY_TRIPLETS ${CMAKE_SOURCE_DIR}/cmake/vcpkg_triplets)
3636
set(VCPKG_TARGET_TRIPLET ${VCPKG_OTEL_TRIPLET})
37-
set(TRIPLET_DEFINITIONS -DVCPKG_OVERLAY_TRIPLETS="${VCPKG_OVERLAY_TRIPLETS}" -DVCPKG_TARGET_TRIPLET=${VCPKG_TARGET_TRIPLET})
37+
set(TRIPLET_DEFINITIONS -DVCPKG_TARGET_TRIPLET=${VCPKG_TARGET_TRIPLET})
3838
elseif(WIN32)
3939
# On Windows, there is a conflict between abseil_dll.dll and the version used by Simulink.
4040
# The shared library doesn't seem ABI stable and different versions cannot be used interchangeably.
4141
# To sidestep the problem, use static library.
4242
set(VCPKG_OVERLAY_TRIPLETS ${CMAKE_SOURCE_DIR}/cmake/vcpkg_triplets)
4343
set(VCPKG_TARGET_TRIPLET x64-windows-otel-matlab)
44-
set(TRIPLET_DEFINITIONS -DVCPKG_OVERLAY_TRIPLETS="${VCPKG_OVERLAY_TRIPLETS}" -DVCPKG_TARGET_TRIPLET=${VCPKG_TARGET_TRIPLET})
44+
set(TRIPLET_DEFINITIONS -DVCPKG_TARGET_TRIPLET=${VCPKG_TARGET_TRIPLET})
4545
endif()
4646

4747
set(VCPKG_FETCH_CONTENT_NAME vcpkg)

0 commit comments

Comments
 (0)