mirror of https://github.com/microsoft/vcpkg.git
[boost] Fix uwp builds on systems with spaces
This commit is contained in:
parent
26b5fe20b3
commit
81bb62a8dd
|
|
@ -1,3 +1,3 @@
|
|||
Source: boost-vcpkg-helpers
|
||||
Version: 2
|
||||
Version: 3
|
||||
Description: a set of vcpkg-internal scripts used to modularize boost
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ function(boost_modular_build)
|
|||
file(TO_NATIVE_PATH "${PLATFORM_WINMD_DIR}" PLATFORM_WINMD_DIR)
|
||||
string(REPLACE "\\" "\\\\" PLATFORM_WINMD_DIR ${PLATFORM_WINMD_DIR}) # escape backslashes
|
||||
|
||||
set(TOOLSET_OPTIONS "${TOOLSET_OPTIONS} <cflags>-Zl <compileflags>\"/AI${PLATFORM_WINMD_DIR}\" <linkflags>WindowsApp.lib <cxxflags>/ZW <compileflags>-DVirtualAlloc=VirtualAllocFromApp <compileflags>-D_WIN32_WINNT=0x0A00")
|
||||
set(TOOLSET_OPTIONS "${TOOLSET_OPTIONS} <cflags>-Zl <compileflags>\"/AI\"${PLATFORM_WINMD_DIR}\"\" <linkflags>WindowsApp.lib <cxxflags>/ZW <compileflags>-DVirtualAlloc=VirtualAllocFromApp <compileflags>-D_WIN32_WINNT=0x0A00")
|
||||
else()
|
||||
set(TOOLSET_OPTIONS "${TOOLSET_OPTIONS} <compileflags>-D_WIN32_WINNT=0x0602")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue