aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-05-30 18:49:33 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2018-05-30 18:49:33 -0700
commit9baf6cb2e2372af212c7d16dfbdd614f7f73f12c (patch)
tree73df6b8d7b43be3d021ae97dea49cd1c18cde24a
parent7046c470bd8dc3db9a2eaefc93b90f03a2c449e5 (diff)
downloadvcpkg-9baf6cb2e2372af212c7d16dfbdd614f7f73f12c.tar.gz
vcpkg-9baf6cb2e2372af212c7d16dfbdd614f7f73f12c.zip
[boost-iostreams] Use PATCHES in vcpkg_from_github()
-rw-r--r--ports/boost-iostreams/portfile.cmake6
1 files changed, 1 insertions, 5 deletions
diff --git a/ports/boost-iostreams/portfile.cmake b/ports/boost-iostreams/portfile.cmake
index cb3de691a..a6c4e7657 100644
--- a/ports/boost-iostreams/portfile.cmake
+++ b/ports/boost-iostreams/portfile.cmake
@@ -8,6 +8,7 @@ vcpkg_from_github(
REF boost-1.67.0
SHA512 73fada0b6e236e0b86f28d8cf75e71dfb6b6a84622986cd72f39de3a310442e6122c91d22ba95bd29381dd559f5cac52a1e28cf97e7e8a6f0c70ccc4f38ceeba
HEAD_REF master
+ PATCHES "${CURRENT_PORT_DIR}/Removeseekpos.patch"
)
vcpkg_download_distfile(LICENSE
@@ -18,11 +19,6 @@ vcpkg_download_distfile(LICENSE
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
-vcpkg_apply_patches(
- SOURCE_PATH ${SOURCE_PATH}
- PATCHES "${CURRENT_PORT_DIR}/Removeseekpos.patch"
-)
-
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA