This feature implemented only for build schemes:
If package has sources protected by password you should use
hunter_protected_sources to mark it so:
# cmake/projects/Foo/hunter.cmake include(hunter_protected_sources) # ... hunter_protected_sources(Foo) hunter_download(PACKAGE_NAME Foo)
- The word “sources” is important here since binaries from cache can be shared or private. E.g. if you upload the binaries produced by private package to the public binaries server then users can download binaries without specifying any credentials.