Toolchain/CMake/cpr.cmake

13 lines
206 B
CMake

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
)