vcpkg/ports/fmt/fix-write-batch.patch
Jack·Boos·Yu 5f77fef68d
[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
2021-04-07 13:28:15 -07:00

14 lines
514 B
Diff

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 ()