2023-04-14 17:19:52 +08:00
|
|
|
set(program_version 4.0.2)
|
|
|
|
set(program_name swig)
|
|
|
|
if(CMAKE_HOST_WIN32)
|
2023-11-15 06:01:08 +08:00
|
|
|
set(download_filename "swigwin-${program_version}.zip")
|
|
|
|
set(download_sha512 "b8f105f9b9db6acc1f6e3741990915b533cd1bc206eb9645fd6836457fd30789b7229d2e3219d8e35f2390605ade0fbca493ae162ec3b4bc4e428b57155db03d")
|
2023-04-14 17:19:52 +08:00
|
|
|
vcpkg_list(SET sourceforge_args
|
|
|
|
REPO swig/swigwin
|
|
|
|
REF "swigwin-${program_version}"
|
|
|
|
)
|
2023-11-15 06:01:08 +08:00
|
|
|
|
|
|
|
set(tool_subdirectory "b8f105f9b9-f0518bc3b7")
|
|
|
|
set(paths_to_search "${DOWNLOADS}/tools/swig/b8f105f9b9-f0518bc3b7/swigwin-${program_version}")
|
2023-04-14 17:19:52 +08:00
|
|
|
else()
|
|
|
|
set(apt_package_name "swig")
|
|
|
|
set(brew_package_name "swig")
|
|
|
|
endif()
|