vcpkg/ports/boost-python/portfile.cmake
Robert Schumacher 9433136b22 [boost] Update to 1.71.0 (#7959)
* [boost] Update to 1.71.0

* [openmvs] Fixes for boost 1.71

* [telnetpp] DISABLE_PARALLEL_CONFIGURE

* [execute_process] Fix output variables (like error_code) not getting populated

* [telnetpp] Add missing boost-exception dependency

* [boost] Refactor generate-ports.ps1 into scripts dir. Enable boost-thread on uwp.

* [boost-iostreams] Revert removal of zstd dependency

* [openmvs] Fix tools deployment
2019-09-27 10:41:02 -07:00

22 lines
1015 B
CMake

# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO boostorg/python
REF boost-1.71.0
SHA512 0b78db2d0fda09298092cfbe7580d67db015aac7d5fac44c363dcc025f61d043fe4a87446b3f8f1fa76ae685838a98b0ed68609ecd945328f5fc4b12a493ee6a
HEAD_REF master
)
# Find Python. Can't use find_package here, but we already know where everything is
file(GLOB PYTHON_INCLUDE_PATH "${CURRENT_INSTALLED_DIR}/include/python[0-9.]*")
set(PYTHONLIBS_RELEASE "${CURRENT_INSTALLED_DIR}/lib")
set(PYTHONLIBS_DEBUG "${CURRENT_INSTALLED_DIR}/debug/lib")
string(REGEX REPLACE ".*python([0-9\.]+)$" "\\1" PYTHON_VERSION "${PYTHON_INCLUDE_PATH}")
include(${CURRENT_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake)
boost_modular_build(SOURCE_PATH ${SOURCE_PATH})
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})