getting rid of CPR

This commit is contained in:
2024-09-03 20:55:58 +03:00
parent 7866d0cc27
commit 4c5b956fa5
3 changed files with 15 additions and 14 deletions

View File

@@ -80,11 +80,11 @@ if(QT_VERSION_MAJOR EQUAL 6)
qt_finalize_executable(checks-parser)
endif()
include(FetchContent)
FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git
GIT_TAG 3b15fa82ea74739b574d705fea44959b58142eb8)
FetchContent_MakeAvailable(cpr)
target_link_libraries(checks-parser PRIVATE cpr::cpr)
# include(FetchContent)
# FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git
# GIT_TAG 3b15fa82ea74739b574d705fea44959b58142eb8)
# FetchContent_MakeAvailable(cpr)
# target_link_libraries(checks-parser PRIVATE cpr::cpr)
find_package(PkgConfig REQUIRED)