vcpkg/scripts/cmake/vcpkg_find_acquire_program(...

12 строки
552 B
CMake

set(program_name nuget)
set(brew_package_name "nuget")
if(CMAKE_HOST_WIN32)
set(download_urls "https://dist.nuget.org/win-x86-commandline/v5.11.0/nuget.exe")
set(download_filename "nuget.5.11.0.exe")
set(download_sha512 06a337c9404dec392709834ef2cdbdce611e104b510ef40201849595d46d242151749aef65bc2d7ce5ade9ebfda83b64c03ce14c8f35ca9957a17a8c02b8c4b7)
set(tool_subdirectory "5.11.0")
set(paths_to_search "${DOWNLOADS}/tools/nuget-${tool_subdirectory}-windows")
set(raw_executable ON)
set(rename_binary_to "nuget.exe")
endif()