aboutsummaryrefslogtreecommitdiff
path: root/ports/fmt/fix-write-batch.patch
diff options
context:
space:
mode:
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 ()