vcpkg/ports/boost-python/portfile.cmake
Robert Schumacher 9d473a6954
[boost] Update to 1.70.0 (#6141)
* [boost] Update to 1.70.0

* [boost-build] Update to 1.70.0

* [folly][freeopcua][libtorrent][websocketpp] Upgrades/patches to handle boost 1.70

* [boost-variant] Revert to 1.69 due to regression
[fizz][folly] Update and fix for boost 1.70
[libsodium] Use CMake buildsystem replacement to enable non-Windows

* [wangle] Update. [folly] Avoid linking debug libs in release.

* [pcl] Fix compatibility with boost 1.70

* [fizz] Handle merge regression

* [arrow] Modernize and fix cmake targets

* [boost-type-traits] Update patches for arm64-windows

* [boost-locale] Add boost-system and boost-thread as arm64 dependencies

* [ompl] Add missing boost-timer dependency
2019-05-16 18:33:32 -07:00

23 lines
1.0 KiB
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.70.0
SHA512 0e540f68713460c64f195f56af1cbd00ae4fa98adc91a83a0c1fdb7e60950cf282cab02b772f06e7c268c3cd294566d6abfa1d1aa545c687a256d6863870f72d
HEAD_REF master
PATCHES unwind-type.patch
)
# 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})