mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 01:59:08 +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
17 lines
630 B
CMake
17 lines
630 B
CMake
set(program_version 4.0.2)
|
|
set(program_name swig)
|
|
if(CMAKE_HOST_WIN32)
|
|
set(download_filename "swigwin-${program_version}.zip")
|
|
set(download_sha512 "b8f105f9b9db6acc1f6e3741990915b533cd1bc206eb9645fd6836457fd30789b7229d2e3219d8e35f2390605ade0fbca493ae162ec3b4bc4e428b57155db03d")
|
|
vcpkg_list(SET sourceforge_args
|
|
REPO swig/swigwin
|
|
REF "swigwin-${program_version}"
|
|
)
|
|
|
|
set(tool_subdirectory "b8f105f9b9-f0518bc3b7")
|
|
set(paths_to_search "${DOWNLOADS}/tools/swig/b8f105f9b9-f0518bc3b7/swigwin-${program_version}")
|
|
else()
|
|
set(apt_package_name "swig")
|
|
set(brew_package_name "swig")
|
|
endif()
|