include(FetchContent) FetchContent_Declare( cpr GIT_REPOSITORY ssh://git@code.3011.io/Mirrors/cpr.git GIT_TAG 1.14.1 ) set(BUILD_SHARED_LIBS OFF) FetchContent_MakeAvailable( cpr )