mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Get rid of MSB3644 warnings.
This commit is contained in:
parent
7ad88eff13
commit
60c92a7431
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user