VS_PACKAGE_REFERENCES

From Get docs
Cmake/docs/3.21/prop tgt/vs package references


VS_PACKAGE_REFERENCES

New in version 3.15.


Visual Studio package references for nuget.

Adds one or more semicolon-delimited package references to a generated Visual Studio project. The version of the package will be underscore delimited. For example, boost_1.7.0;nunit_3.12.*.

set_property(TARGET ${TARGET_NAME} PROPERTY
  VS_PACKAGE_REFERENCES "boost_1.7.0")

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/prop_tgt/VS_PACKAGE_REFERENCES.html