2021-04-08 04:28:15 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2024-02-27 17:02:58 +08:00
|
|
|
index 88c12148..967b53dd 100644
|
2021-04-08 04:28:15 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2024-02-27 17:02:58 +08:00
|
|
|
@@ -260,7 +260,7 @@ if (FMT_MASTER_PROJECT AND CMAKE_GENERATOR MATCHES "Visual Studio")
|
2021-04-08 04:28:15 +08:00
|
|
|
join(netfxpath
|
|
|
|
"C:\\Program Files\\Reference Assemblies\\Microsoft\\Framework\\"
|
|
|
|
".NETFramework\\v4.0")
|
|
|
|
- file(WRITE run-msbuild.bat "
|
2024-02-27 17:02:58 +08:00
|
|
|
+ file(WRITE "${CMAKE_BINARY_DIR}/run-msbuild.bat" "
|
2021-04-08 04:28:15 +08:00
|
|
|
${MSBUILD_SETUP}
|
|
|
|
${CMAKE_MAKE_PROGRAM} -p:FrameworkPathOverride=\"${netfxpath}\" %*")
|
|
|
|
endif ()
|