1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00

Update CMakeLists.txt

This commit is contained in:
Sandu Liviu Catalin 2021-02-01 04:27:29 +02:00
parent 9af800aed2
commit 6473b4004d

View File

@ -246,7 +246,7 @@ add_library(cpr::cpr ALIAS cpr)
target_include_directories(cpr PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) target_include_directories(cpr PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
target_include_directories(cpr PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include) target_include_directories(cpr PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
target_link_libraries(cpr PUBLIC CURL::libcurl) # todo should be private, but first dependencies in ssl_options need to be removed target_link_libraries(cpr PUBLIC libcurl) # todo should be private, but first dependencies in ssl_options need to be removed
# Set version for shared libraries. # Set version for shared libraries.
set_target_properties(cpr set_target_properties(cpr