mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
Add two spaces in front of message() to fix formatting
In Warning or Error, indented text is considered preformatted. Otherwise CMake tries to format it itself, and there are issues with whitespace in the path
This commit is contained in:
parent
ba406880e4
commit
bcfe15ce2b
@ -12,9 +12,9 @@ function(vcpkg_execute_required_process)
|
||||
file(TO_NATIVE_PATH "${CURRENT_BUILDTREES_DIR}" NATIVE_BUILDTREES_DIR)
|
||||
if(error_code)
|
||||
message(FATAL_ERROR
|
||||
"Command failed: ${vcpkg_execute_required_process_COMMAND}\n"
|
||||
"Working Directory: ${vcpkg_execute_required_process_WORKING_DIRECTORY}\n"
|
||||
"See logs for more information:\n"
|
||||
" Command failed: ${vcpkg_execute_required_process_COMMAND}\n"
|
||||
" Working Directory: ${vcpkg_execute_required_process_WORKING_DIRECTORY}\n"
|
||||
" See logs for more information:\n"
|
||||
" ${NATIVE_BUILDTREES_DIR}\\${vcpkg_execute_required_process_LOGNAME}-out.log\n"
|
||||
" ${NATIVE_BUILDTREES_DIR}\\${vcpkg_execute_required_process_LOGNAME}-err.log\n")
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user