aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Neumann <30894796+Neumann-A@users.noreply.github.com>2020-10-03 02:05:28 +0200
committerGitHub <noreply@github.com>2020-10-02 17:05:28 -0700
commitc9027488970352953a59505234775b367d4cfd2a (patch)
treed53d80dbe7ec263beb004bfd2aa1b7b325200ab5 /scripts
parentb31c6fd3895b274d0bcbc8e1c57ef730e8f8bd20 (diff)
downloadvcpkg-c9027488970352953a59505234775b367d4cfd2a.tar.gz
vcpkg-c9027488970352953a59505234775b367d4cfd2a.zip
[vcpkg/manifest] write manifest install logs into the build dir. (#13711)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/buildsystems/vcpkg.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake
index 1b46771b1..1b5bbb63f 100644
--- a/scripts/buildsystems/vcpkg.cmake
+++ b/scripts/buildsystems/vcpkg.cmake
@@ -363,7 +363,10 @@ if(VCPKG_MANIFEST_MODE AND VCPKG_MANIFEST_INSTALL AND NOT _CMAKE_IN_TRY_COMPILE)
"--x-manifest-root=${_VCPKG_MANIFEST_DIR}"
"--x-install-root=${_VCPKG_INSTALLED_DIR}"
${_VCPKG_ADDITIONAL_MANIFEST_PARAMS}
- RESULT_VARIABLE _VCPKG_INSTALL_RESULT)
+ OUTPUT_FILE "${CMAKE_BINARY_DIR}/vcpkg-manifest-install-out.log"
+ ERROR_FILE "${CMAKE_BINARY_DIR}/vcpkg-manifest-install-err.log"
+ RESULT_VARIABLE _VCPKG_INSTALL_RESULT
+ )
if (NOT _VCPKG_INSTALL_RESULT EQUAL 0)
message(FATAL_ERROR "Running vcpkg install - failed")