Skip to content

Commit 16994d1

Browse files
compnerdshahmishal
authored andcommitted
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 (cherry picked from commit d4d4d13)
1 parent f04bf4e commit 16994d1

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
@@ -86,6 +86,7 @@ foreach(sdk ${DISPATCH_SDKS})
8686
-DCMAKE_INSTALL_LIBDIR=lib
8787
-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
8888
-DCMAKE_LINKER=${CMAKE_LINKER}
89+
-DCMAKE_MT=${CMAKE_MT}
8990
-DCMAKE_RANLIB=${CMAKE_RANLIB}
9091
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
9192
-DCMAKE_SYSTEM_NAME=${SWIFT_SDK_${sdk}_NAME}

0 commit comments

Comments
 (0)