1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-16 15:17:13 +02:00

Remove nonsense CMake for this case.

This commit is contained in:
Sandu Liviu Catalin
2021-02-01 03:57:12 +02:00
parent c243d87cb4
commit e43004c2d8
3 changed files with 62 additions and 68 deletions

View File

@ -1,32 +0,0 @@
cmake_minimum_required(VERSION 3.7)
add_library(cpr
auth.cpp
bearer.cpp
cookies.cpp
cprtypes.cpp
curl_container.cpp
curlholder.cpp
error.cpp
multipart.cpp
parameters.cpp
payload.cpp
proxies.cpp
session.cpp
timeout.cpp
unix_socket.cpp
util.cpp
response.cpp
)
add_library(cpr::cpr ALIAS cpr)
target_link_libraries(cpr PUBLIC CURL::libcurl) # todo should be private, but first dependencys in ssl_options need to be removed
# Set version for shared libraries.
set_target_properties(cpr
PROPERTIES
VERSION ${${PROJECT_NAME}_VERSION}
SOVERSION ${${PROJECT_NAME}_VERSION_MAJOR})
install(TARGETS cpr)