Skip to content

Commit bedaa89

Browse files
committed
Define _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR preprocessor macro to work around invalid MEX file issue on Windows. Fixes #130
1 parent ac894fb commit bedaa89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ endif()
99
# Define a preprocessor macro _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR to work around an invalid MEX file issue
1010
# See https://github.com/mathworks/OpenTelemetry-Matlab/issues/130
1111
set(VCPKG_CXX_FLAGS "/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR")
12+
set(VCPKG_C_FLAGS "/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR")

0 commit comments

Comments
 (0)