mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
Trace wrappers (#28161)
This commit is contained in:
parent
ed54c9a15f
commit
5402d24c77
@ -784,6 +784,11 @@ macro("${VCPKG_OVERRIDE_FIND_PACKAGE_NAME}" z_vcpkg_find_package_package_name)
|
|||||||
set(z_vcpkg_find_package_vcpkg_cmake_wrapper_path
|
set(z_vcpkg_find_package_vcpkg_cmake_wrapper_path
|
||||||
"${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/share/${z_vcpkg_find_package_lowercase_package_name}/vcpkg-cmake-wrapper.cmake")
|
"${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/share/${z_vcpkg_find_package_lowercase_package_name}/vcpkg-cmake-wrapper.cmake")
|
||||||
if(EXISTS "${z_vcpkg_find_package_vcpkg_cmake_wrapper_path}")
|
if(EXISTS "${z_vcpkg_find_package_vcpkg_cmake_wrapper_path}")
|
||||||
|
if(VCPKG_TRACE_FIND_PACKAGE)
|
||||||
|
string(REPEAT " " "${z_vcpkg_find_package_backup_id}" z_vcpkg_find_package_indent)
|
||||||
|
message(STATUS "${z_vcpkg_find_package_indent}using share/${z_vcpkg_find_package_lowercase_package_name}/vcpkg-cmake-wrapper.cmake")
|
||||||
|
unset(z_vcpkg_find_package_indent)
|
||||||
|
endif()
|
||||||
list(APPEND z_vcpkg_find_package_${z_vcpkg_find_package_backup_id}_backup_vars "ARGS")
|
list(APPEND z_vcpkg_find_package_${z_vcpkg_find_package_backup_id}_backup_vars "ARGS")
|
||||||
if(DEFINED ARGS)
|
if(DEFINED ARGS)
|
||||||
set(z_vcpkg_find_package_${z_vcpkg_find_package_backup_id}_backup_ARGS "${ARGS}")
|
set(z_vcpkg_find_package_${z_vcpkg_find_package_backup_id}_backup_ARGS "${ARGS}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user