2017-12-06 05:00:50 +08:00
|
|
|
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
|
|
|
|
|
|
|
include(vcpkg_common_functions)
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO boostorg/python
|
2019-01-31 08:04:17 +08:00
|
|
|
REF boost-1.69.0
|
|
|
|
SHA512 7ca3210a35ac43eae31c58d7ccd58e6410ec0d62a25ae7a03fb2db9baa4cf863fbaad1686c6ceaf804663c5707f6e60b4806f792f0aceb5c12a85b705d4242d0
|
2017-12-06 05:00:50 +08:00
|
|
|
HEAD_REF master
|
2019-03-26 04:28:36 +08:00
|
|
|
PATCHES unwind-type.patch
|
2017-12-06 05:00:50 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
# 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}")
|
2018-01-18 14:08:48 +08:00
|
|
|
include(${CURRENT_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake)
|
2017-12-22 03:46:26 +08:00
|
|
|
boost_modular_build(SOURCE_PATH ${SOURCE_PATH})
|
2018-01-18 14:08:48 +08:00
|
|
|
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
2017-12-06 05:00:50 +08:00
|
|
|
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|