diff options
Diffstat (limited to 'ports/cpp-netlib')
| -rw-r--r-- | ports/cpp-netlib/CONTROL | 4 | ||||
| -rw-r--r-- | ports/cpp-netlib/portfile.cmake | 9 |
2 files changed, 6 insertions, 7 deletions
diff --git a/ports/cpp-netlib/CONTROL b/ports/cpp-netlib/CONTROL index 361c4dced..9d33aa289 100644 --- a/ports/cpp-netlib/CONTROL +++ b/ports/cpp-netlib/CONTROL @@ -1,4 +1,4 @@ Source: cpp-netlib
-Version: 0.13.0-final +Version: 0.13.0-2
+Build-Depends: boost
Description: A collection of network-related routines/implementations geared towards providing a robust cross-platform networking library
-Build-Depends: boost
\ No newline at end of file diff --git a/ports/cpp-netlib/portfile.cmake b/ports/cpp-netlib/portfile.cmake index b57efdbf1..abea253d8 100644 --- a/ports/cpp-netlib/portfile.cmake +++ b/ports/cpp-netlib/portfile.cmake @@ -9,7 +9,7 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY) vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO cpp-netlib/cpp-netlib
- REF cpp-netlib-0.13.0-final + REF cpp-netlib-0.13.0-final
SHA512 1839bf1acb7917acd2957f1008a44ed26a38849afb5843bfa0d5c557dde530afab4183d8d273a87d6416aad2b3a59fdecdef5fbb62bc91ed484486c80a1de5eb
HEAD_REF master
)
@@ -20,18 +20,17 @@ vcpkg_from_github( OPTIONS
-DCPP-NETLIB_BUILD_TESTS=off
-DCPP-NETLIB_BUILD_EXAMPLES=off
-
+
)
vcpkg_install_cmake()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
-if(WIN32 AND NOT CYGWIN)
- vcpkg_fixup_cmake_targets(CONFIG_PATH cmake TARGET_PATH share/${PORT})
+if (NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
+ vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
else()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/cppnetlib)
endif()
file(INSTALL ${SOURCE_PATH}/LICENSE_1_0.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
-
|
