Commit 60c92a74 authored by Victor Zverovich's avatar Victor Zverovich

Get rid of MSB3644 warnings.

parent 7ad88eff
...@@ -25,9 +25,10 @@ if (CMAKE_GENERATOR MATCHES "Visual Studio") ...@@ -25,9 +25,10 @@ if (CMAKE_GENERATOR MATCHES "Visual Studio")
if (WINSDK_SETENV) if (WINSDK_SETENV)
set(MSBUILD_SETUP "call \"${WINSDK_SETENV}\"") set(MSBUILD_SETUP "call \"${WINSDK_SETENV}\"")
endif () endif ()
# Set FrameworkPathOverride to get rid of MSB3644 warnings.
file(WRITE run-msbuild.bat " file(WRITE run-msbuild.bat "
${MSBUILD_SETUP} ${MSBUILD_SETUP}
${CMAKE_MAKE_PROGRAM} %*") ${CMAKE_MAKE_PROGRAM} -p:FrameworkPathOverride=\"C:\\Program Files\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.0\" %*")
endif () endif ()
add_library(format format.cc format.h) add_library(format format.cc format.h)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment