mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 00:39:44 +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
13 lines
577 B
CMake
13 lines
577 B
CMake
set(program_name yasm)
|
|
set(program_version 1.3.0.6.g1962)
|
|
set(brew_package_name "yasm")
|
|
set(apt_package_name "yasm")
|
|
if(CMAKE_HOST_WIN32)
|
|
set(download_urls "https://www.tortall.net/projects/yasm/snapshots/v${program_version}/yasm-${program_version}.exe")
|
|
set(download_filename "yasm-${program_version}.exe")
|
|
set(download_sha512 c1945669d983b632a10c5ff31e86d6ecbff143c3d8b2c433c0d3d18f84356d2b351f71ac05fd44e5403651b00c31db0d14615d7f9a6ecce5750438d37105c55b)
|
|
set(tool_subdirectory 1.3.0.6)
|
|
set(raw_executable ON)
|
|
set(rename_binary_to "yasm.exe")
|
|
endif()
|