From b5bb1511f0a07be530e0bde3ae098eb3d8e83e68 Mon Sep 17 00:00:00 2001 From: ras0219 <533828+ras0219@users.noreply.github.com> Date: Fri, 26 Mar 2021 12:55:34 -0700 Subject: [many ports] Apply host dependencies (#16479) * [vcpkg] Add VCPKG_HOST_TRIPLET. Improve vcpkg.schema.json * [many ports] Apply host dependencies * [yasm-tool] Revert yasm-tool changes to split into PR #16478 * [many ports] Add versions * [vcpkg.cmake] Revert change applied in other PR * [boost-modular-build-helper] Merge from master Co-authored-by: Robert Schumacher --- ports/boost-python/portfile.cmake | 5 ++++- ports/boost-python/vcpkg.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'ports/boost-python') diff --git a/ports/boost-python/portfile.cmake b/ports/boost-python/portfile.cmake index 92fa8d184..9293a86f8 100644 --- a/ports/boost-python/portfile.cmake +++ b/ports/boost-python/portfile.cmake @@ -8,7 +8,10 @@ vcpkg_from_github( HEAD_REF master ) -include(${CURRENT_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake) +if(NOT DEFINED CURRENT_HOST_INSTALLED_DIR) + message(FATAL_ERROR "boost-python requires a newer version of vcpkg in order to build.") +endif() +include(${CURRENT_HOST_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake) boost_modular_build( SOURCE_PATH ${SOURCE_PATH} BOOST_CMAKE_FRAGMENT "${CMAKE_CURRENT_LIST_DIR}/b2-options.cmake" diff --git a/ports/boost-python/vcpkg.json b/ports/boost-python/vcpkg.json index 942366f92..ae32d8dd6 100644 --- a/ports/boost-python/vcpkg.json +++ b/ports/boost-python/vcpkg.json @@ -1,7 +1,7 @@ { "name": "boost-python", "version-string": "1.75.0", - "port-version": 1, + "port-version": 2, "description": "Boost python module", "homepage": "https://github.com/boostorg/python", "supports": "!uwp & !(arm & windows) & !emscripten", -- cgit v1.2.3