vcpkg/scripts/buildsystems
Jörg Bornemann 512d62f7ee
[vcpkg.cmake] Fix CMP0126 warnings (#23784) (#29969)
When running CMake 3.21 or newer in trace or debug mode, vcpkg.cmake
would trigger the CMP0126 warning for VCPKG_MANIFEST_DIR and
VCPKG_INSTALLED_DIR.

The regular variable was used to set the initial value of the cache
variable of the same name. This patch adds the regular variables
Z_VCPKG_MANIFEST_DIR_INITIAL_VALUE and
Z_VCPKG_INSTALLED_DIR_INITIAL_VALUE that are used to initialize their
respective cache variables.
2023-05-09 17:08:28 -07:00
..