mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 06:59:07 +08:00
83712a6060
* Extract vcpkg_extract_archive from vcpkg_find_acquire_program. * Extract vcpkg_download_sourceforge from vcpkg_from_sourceforge. This allows vcpkg_find_acquire_program to download from SourceForge without needing to temporarily change _VCPKG_EDITABLE. * Use whether a URI is known for an entity to decide whether to downloads it rather than checking a separate supported_on_unix boolean. * Add unparsed arguments check to vcpkg_extract_archive
12 lines
552 B
CMake
12 lines
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()
|