We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc70e5a commit 21fbbb2Copy full SHA for 21fbbb2
CMakeLists.txt
@@ -53,7 +53,7 @@ unset(DD_TRACE_VERSION_CPP_CONTENTS)
53
54
message(STATUS "dd-trace-cpp transport=${DD_TRACE_TRANSPORT}")
55
56
-if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
+if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" OR (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_CXX_COMPILER_FRONTEND_VARIANT MATCHES "MSVC"))
57
if (BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS)
58
message(FATAL_ERROR "Can't build both static and shared libary for MSVC")
59
endif ()
0 commit comments