aboutsummaryrefslogtreecommitdiff
path: root/ports/fmt/fix-write-batch.patch
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2021-04-08 04:28:15 +0800
committerGitHub <noreply@github.com>2021-04-07 13:28:15 -0700
commit5f77fef68d9f2f5ddc921432914dcbf92b31e989 (patch)
tree3ea6253ff204372c4eb47f99636654e670236e4b /ports/fmt/fix-write-batch.patch
parentb3aaa1c3b73665fd51897233e7a96e14586f02ea (diff)
downloadvcpkg-5f77fef68d9f2f5ddc921432914dcbf92b31e989.tar.gz
vcpkg-5f77fef68d9f2f5ddc921432914dcbf92b31e989.zip
[fmt] Fix build error when building arm64-uwp (#16766)
* [fmt] Fix build error when building arm64-uwp * update version record * bump version * update version record * remove DISABLE_PARALLEL_CONFIGURE * update version record
Diffstat (limited to 'ports/fmt/fix-write-batch.patch')
-rw-r--r--ports/fmt/fix-write-batch.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/fmt/fix-write-batch.patch b/ports/fmt/fix-write-batch.patch
new file mode 100644
index 000000000..7c17d6037
--- /dev/null
+++ b/ports/fmt/fix-write-batch.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f21cf45..691a632 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -157,7 +157,7 @@ if (MASTER_PROJECT AND CMAKE_GENERATOR MATCHES "Visual Studio")
+ join(netfxpath
+ "C:\\Program Files\\Reference Assemblies\\Microsoft\\Framework\\"
+ ".NETFramework\\v4.0")
+- file(WRITE run-msbuild.bat "
++ file(WRITE ${CMAKE_BINARY_DIR}/run-msbuild.bat "
+ ${MSBUILD_SETUP}
+ ${CMAKE_MAKE_PROGRAM} -p:FrameworkPathOverride=\"${netfxpath}\" %*")
+ endif ()