mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 11:58:59 +08:00
[boost-modular-build-helper] put quotes around the directory in compiler flags (#9108)
This commit is contained in:
parent
efba683396
commit
1763db4084
@ -1,2 +1,2 @@
|
||||
Source: boost-modular-build-helper
|
||||
Version: 1.71.0
|
||||
Version: 1.71.0-1
|
||||
|
@ -253,7 +253,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
Block a user