Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanpo committed Jul 4, 2024
1 parent 5c70586 commit be5e0e2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ else()
# On Windows, there is a conflict between abseil_dll.dll and the version used by Simulink.
# The shared library doesn't seem ABI stable and different versions cannot be used interchangeably.
# To sidestep the problem, use static library.
set(VCPKG_OVERLAY_TRIPLETS ${CMAKE_SOURCE_DIR}/cmake/vcpkg_triplets CACHE STRING "")
set(VCPKG_TARGET_TRIPLET x64-windows-otel-matlab CACHE STRING "")
set(VCPKG_OVERLAY_TRIPLETS ${CMAKE_SOURCE_DIR}/cmake/vcpkg_triplets)
set(VCPKG_TARGET_TRIPLET x64-windows-otel-matlab)
set(TRIPLET_DEFINITIONS -DVCPKG_OVERLAY_TRIPLETS="${VCPKG_OVERLAY_TRIPLETS}" -DVCPKG_TARGET_TRIPLET=${VCPKG_TARGET_TRIPLET})
endif()

Expand Down Expand Up @@ -106,10 +106,10 @@ string(STRIP ${OTEL_MATLAB_VERSION_RAW} OTEL_MATLAB_VERSION)

project(${CLIENT_PROJECT_NAME} VERSION ${OTEL_MATLAB_VERSION} LANGUAGES CXX)

if(WIN32)
#if(WIN32)
# workaround a GitHub runner issue
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")
endif()
# set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")
#endif()

# ######################################
# libmexclass
Expand Down

0 comments on commit be5e0e2

Please sign in to comment.