(build): refactor download_deps.cmake to allow call from external project
Description
download_deps.cmake can now be controlled by overriding: SIGHT_DEPS_BASENAME
, SIGHT_DEPS_PACKAGE
, SIGHT_DEPS_ARCHIVE
, SIGHT_DEPS_PUBLIC_URL
, SIGHT_DEPS_ARCHIVE_HASH
. Each can be independently overridden. Good default values are still written in the file.
Closes #830 (closed)
How to test it?
- Build on linux with openvslam enabled
- Build on windows while having downloaded the VCPKG with (assuming the sight source is in
.\sight
):cmake -P "sight\cmake\build\download_deps.cmake"
- Let the CI decide for you..