CMake and MsVS-NuGet
问题 This question was migrated from Software Engineering Stack Exchange because it can be answered on Stack Overflow. Migrated 6 years ago . I'm currently developing a desktop application, using the C++ REST SDK (codename Casablanca), Qt5 and some other libraries. For the project setup, I use CMake. How to get CMake to install NuGet Packages? I now have to install it each time manually, if I rerun CMake, which isn't really an option. 回答1: EDIT : As of CMake 3.15, CMake supports referencing Nuget