ExternalProject: TLS_VERIFY option is not used in the update step.
The option TLS_VERIFY
is not taken into account when External Project attemps to update a repository.
An example where this is relevant in my case is when trying to clone a repository using the HTTPS protocol, where the server uses an internal certificate. My "workaround" so far is to disable updates with the UPDATE_DISCONNECTED
option.
When looking at the code of ExternalProject.cmake, the function _ep_write_gitclone_script()
has the content of the tls_verify
variable passed to it, but function _ep_write_gitupdate_script()
does not, which would indicate that the option is indeed not propagated.