I try to Download googletest cia my cmake project, but i have trouble connecting to github:
include(FetchContent)
FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG release-1.8.1
)
FetchContent_MakeAvailable(googletest)
Performing download step (git clone) for 'googletest-populate'
Cloning into 'googletest-src'...
fatal: unable to access 'https://github.com/google/googletest.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Cloning into 'googletest-src'...
fatal: unable to access 'https://github.com/google/googletest.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Cloning into 'googletest-src'...
fatal: unable to access 'https://github.com/google/googletest.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
My local git client can clone that repository, to i think cmake is using his own git implementation, but i have currently no idea how i can tell cmake to support newer tls versions.
I hope someone can help me with this problem. Via google i haven’t found any real solutions.