-
Notifications
You must be signed in to change notification settings - Fork 215
Open
Description
Hi!
On multiple repos relying on CPM for their dependencies I sometimes (on Windows computers only) struggle to download the content of the file CPM.cmake
The main symptom is this typical error during the configure step: Unknown CMake command "CPMAddPackage"
But it actually comes from the fact that the downloading of the file as done in get_cpm.cmake failed.
When retrieving the status of
file(
DOWNLOAD
https://github.com/cpm-cmake/CPM.cmake/releases/download/v${CPM_DOWNLOAD_VERSION}/CPM.cmake
${CPM_DOWNLOAD_LOCATION}
EXPECTED_HASH SHA256=${CPM_HASH_SUM}
STATUS DOWNLOAD_STATUS
)
${DOWNLOAD_STATUS} will contain 35;"SSL connect error"
Although I have not investigating the root cause for the TLS issue as on WIndows it might become tricky.
Metadata
Metadata
Assignees
Labels
No labels