Skip to content

Commit d4d4d13

Browse files
authored
build: repair the build with VS2019 16.10.0
The newest VS2019 release updates CMake to 3.20, which picks up `llvm-mt` as a preferred manifest tool. However, we do not build `llvm-mt` with libxml2 support currently, which prevents the use of the just built manifest tool for building libdispatch. Explicitly opt into using the MSVC manifest-tool. Cherry-pick 2990e8b
1 parent 95dc169 commit d4d4d13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/modules/Libdispatch.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ foreach(sdk ${DISPATCH_SDKS})
9292
-DCMAKE_INSTALL_LIBDIR=lib
9393
-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
9494
-DCMAKE_LINKER=${CMAKE_LINKER}
95+
-DCMAKE_MT=${CMAKE_MT}
9596
-DCMAKE_RANLIB=${CMAKE_RANLIB}
9697
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
9798
-DCMAKE_SYSTEM_NAME=${SWIFT_SDK_${sdk}_NAME}

0 commit comments

Comments
 (0)