diff --git a/CMakeLists.txt b/CMakeLists.txt index d01d7054ef..0304beec50 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -343,12 +343,6 @@ if(MSVC) # __cplusplus flag is not supported by Visual Studio 2015 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zc:__cplusplus") endif() - # When using vcpkg, all targets build with the same runtime - if(VCPKG_TOOLCHAIN) - set(CMAKE_MSVC_RUNTIME_LIBRARY - "MultiThreaded$<$:Debug>$<$:DLL>" - CACHE STRING "") - endif() endif() # include GNUInstallDirs before include cmake/opentelemetry-proto.cmake because