Skip to content

Commit

Permalink
[boost-iostreams] Use PATCHES in vcpkg_from_github()
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkaratarakis committed May 31, 2018
1 parent 7046c47 commit 9baf6cb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ports/boost-iostreams/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9baf6cb

Please sign in to comment.