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:
Alexander Karatarakis 2016-10-20 15:46:32 -07:00
parent ba406880e4
commit bcfe15ce2b

View File

@ -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()