Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add CMake option to disable auto-downloading of vcpkg. #5048

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

teo-tsirpanis
Copy link
Member

SC-48929

This PR adds a CMake option to disable auto-downloading of vcpkg, as requested in msys2/MINGW-packages#21081 (comment). There is already an environment variable that serves the same purpose, but the CMake option has the advantage of being cached across configures.

I also updated the error message when TILEDB_VCPKG is disabled, making the migration path more clear.

Validated by configuring locally with this option specified, and observing that vcpkg was not downloaded, and find_package calls failed.


TYPE: BUILD
DESC: Automatic downloading of vcpkg can be disabled by enabling the TILEDB_DISABLE_AUTO_VCPKG CMake option, in addition to setting the environment variable with trhe same name.

@KiterLuc KiterLuc merged commit 381fd4f into dev Jun 11, 2024
61 of 62 checks passed
@KiterLuc KiterLuc deleted the teo/auto-download-vcpkg branch June 11, 2024 13:45
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants