Skip to content

Commit 1d8a7b5

Browse files
authored
[BUILD] Remove the incorrect set of CMAKE_MSVC_RUNTIME_LIBRARY for vcpkg (#2696)
1 parent bf8fa53 commit 1d8a7b5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -343,12 +343,6 @@ if(MSVC)
343343
# __cplusplus flag is not supported by Visual Studio 2015
344344
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zc:__cplusplus")
345345
endif()
346-
# When using vcpkg, all targets build with the same runtime
347-
if(VCPKG_TOOLCHAIN)
348-
set(CMAKE_MSVC_RUNTIME_LIBRARY
349-
"MultiThreaded$<$<CONFIG:Debug>:Debug>$<$<STREQUAL:${VCPKG_CRT_LINKAGE},dynamic>:DLL>"
350-
CACHE STRING "")
351-
endif()
352346
endif()
353347

354348
# include GNUInstallDirs before include cmake/opentelemetry-proto.cmake because

0 commit comments

Comments
 (0)