mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[vcpkg toolchain] Fix paths with special characters (#24463)
* [vcpkg toolchain] Fix paths with special characters * fix * Use VERBATIM instead of double quotes
This commit is contained in:
parent
c8a56fdc15
commit
f30786c9c4
@ -584,6 +584,7 @@ function(add_executable)
|
||||
-targetBinary "$<TARGET_FILE:${target_name}>"
|
||||
-installedDir "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}$<$<CONFIG:Debug>:/debug>/bin"
|
||||
-OutVariable out
|
||||
VERBATIM
|
||||
${EXTRA_OPTIONS}
|
||||
)
|
||||
elseif(Z_VCPKG_TARGET_TRIPLET_PLAT MATCHES "osx")
|
||||
@ -592,6 +593,7 @@ function(add_executable)
|
||||
COMMAND python "${Z_VCPKG_TOOLCHAIN_DIR}/osx/applocal.py"
|
||||
"$<TARGET_FILE:${target_name}>"
|
||||
"${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}$<$<CONFIG:Debug>:/debug>"
|
||||
VERBATIM
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
@ -618,6 +620,7 @@ function(add_library)
|
||||
-targetBinary "$<TARGET_FILE:${target_name}>"
|
||||
-installedDir "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}$<$<CONFIG:Debug>:/debug>/bin"
|
||||
-OutVariable out
|
||||
VERBATIM
|
||||
)
|
||||
endif()
|
||||
set_target_properties("${target_name}" PROPERTIES VS_USER_PROPS do_not_import_user.props)
|
||||
|
Loading…
x
Reference in New Issue
Block a user