Get rid of MSB3644 warnings.

This commit is contained in:
Victor Zverovich 2014-04-29 05:56:47 -07:00
parent 7ad88eff13
commit 60c92a7431

View File

@ -25,9 +25,10 @@ if (CMAKE_GENERATOR MATCHES "Visual Studio")
if (WINSDK_SETENV)
set(MSBUILD_SETUP "call \"${WINSDK_SETENV}\"")
endif ()
# Set FrameworkPathOverride to get rid of MSB3644 warnings.
file(WRITE run-msbuild.bat "
${MSBUILD_SETUP}
${CMAKE_MAKE_PROGRAM} %*")
${CMAKE_MAKE_PROGRAM} -p:FrameworkPathOverride=\"C:\\Program Files\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.0\" %*")
endif ()
add_library(format format.cc format.h)