Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanpo committed Jul 5, 2024
1 parent 2cca345 commit f43a490
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ cmake_policy(SET CMP0074 NEW)
# vcpkg
# ###########################

#if(WIN32)
# add_compile_definitions(_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR)
#endif()

include(FetchContent)

# check if VCPKG_ROOT is defined, which should point to an existing installation
Expand Down Expand Up @@ -151,6 +147,8 @@ endif()

if(WIN32)
set(OTEL_PROTO_LIBRARY_SUFFIX ${CMAKE_STATIC_LIBRARY_SUFFIX})
# workaround a Visual C++ Runtime issue on GitHub on Windows
add_compile_definitions(_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR)
else()
set(OTEL_PROTO_LIBRARY_SUFFIX ${CMAKE_SHARED_LIBRARY_SUFFIX})
endif()
Expand Down

0 comments on commit f43a490

Please sign in to comment.