mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 18:09:01 +08:00
e9267ac7c4
* 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
21 lines
643 B
Diff
21 lines
643 B
Diff
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})
|
|
|