diff options
| author | Yuval Gross <52262536+yuvalg-MSFT@users.noreply.github.com> | 2019-12-03 11:18:49 -0800 |
|---|---|---|
| committer | Victor Romero <romerosanchezv@gmail.com> | 2019-12-03 11:18:49 -0800 |
| commit | e9267ac7c40d990c8368861189031bcd5eb77189 (patch) | |
| tree | c8f3316fddb74b8d01ae36fd0bae3a99b271bc2d /ports/proxywrapper/fix-find-libproxy.patch | |
| parent | 227d05535901da3372dac2f5fdf4af42cd4e0477 (diff) | |
| download | vcpkg-e9267ac7c40d990c8368861189031bcd5eb77189.tar.gz vcpkg-e9267ac7c40d990c8368861189031bcd5eb77189.zip | |
[proxywrapper] Add new port (#8916)
* adding proxywrapper package
* resolving review comments
* restrict Linux only
* [proxywrapper] Only static library
* [libmodman] Move building of tests to a non-default feature
* [libproxy] Move tests to a non-default feature
* [libproxy] Add features for language bindings
* [proxywrapper] Require C++ 11 standard
Diffstat (limited to 'ports/proxywrapper/fix-find-libproxy.patch')
| -rw-r--r-- | ports/proxywrapper/fix-find-libproxy.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ports/proxywrapper/fix-find-libproxy.patch b/ports/proxywrapper/fix-find-libproxy.patch new file mode 100644 index 000000000..aeb45b98d --- /dev/null +++ b/ports/proxywrapper/fix-find-libproxy.patch @@ -0,0 +1,20 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5a867a4..3ba85fa 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -5,11 +5,12 @@ project(proxywrapper)
+
+ include(GNUInstallDirs)
+
+-find_library(proxy REQUIRED)
++find_package(libproxy REQUIRED)
+
+-add_library(proxywrapper SHARED ProxyWrapper.cpp)
++add_library(proxywrapper ProxyWrapper.cpp)
+
+-target_link_libraries(proxywrapper proxy)
++target_link_libraries(proxywrapper PRIVATE ${LIBPROXY_LIBRARIES})
++target_include_directories(proxywrapper PRIVATE ${LIBPROXY_INCLUDE_DIR})
+
+ install(TARGETS proxywrapper EXPORT proxywrapper DESTINATION ${CMAKE_INSTALL_LIBDIR})
+
|
