Skip to content

Commit

Permalink
Merge pull request #8532 from cenit/dev/cenit/curlpp
Browse files Browse the repository at this point in the history
[curlpp] fix regression introduced in #7331
  • Loading branch information
vicroms authored Oct 10, 2019
2 parents 8539016 + d9b08b2 commit d3fb058
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ports/curlpp/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: curlpp
Version: 2018-06-15
Version: 2018-06-15-1
Description: C++ wrapper around libcURL
Build-Depends: curl
2 changes: 1 addition & 1 deletion ports/curlpp/fix-cmake.patch
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ index 8b183a0..a801ae8 100644
-SET_TARGET_PROPERTIES(${PROJECT_NAME}_static PROPERTIES PREFIX "lib")
-target_link_libraries(${PROJECT_NAME}_static ${CURL_LIBRARIES} ${CONAN_LIBS})
+SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES PREFIX "lib")
+target_link_libraries(${PROJECT_NAME} ${CURL_LIBRARIES} ${CONAN_LIBS})
+target_link_libraries(${PROJECT_NAME} CURL::libcurl)
+endif()
+
+target_include_directories(${PROJECT_NAME} PUBLIC $<INSTALL_INTERFACE:include>)
Expand Down
5 changes: 5 additions & 0 deletions ports/curlpp/vcpkg-cmake-wrapper.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
set(FIND_CURLPP_ARGS ${ARGS})
include(CMakeFindDependencyMacro)
find_dependency(CURL)

_find_package(${FIND_CURLPP_ARGS})

0 comments on commit d3fb058

Please sign in to comment.