diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-12-21 11:46:26 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-12-21 11:47:13 -0800 |
| commit | 95b739c1a8eeea5dbb73be58e369baa9fb231a8c (patch) | |
| tree | 3489e2026eb58c1c3c77be7dcc786b80e2ba097c | |
| parent | 15ca078f607da82b16e59c1ea534b483207a08f6 (diff) | |
| download | vcpkg-95b739c1a8eeea5dbb73be58e369baa9fb231a8c.tar.gz vcpkg-95b739c1a8eeea5dbb73be58e369baa9fb231a8c.zip | |
[boost-python] Fix build.
| -rw-r--r-- | ports/boost-python/CONTROL | 2 | ||||
| -rw-r--r-- | ports/boost-python/portfile.cmake | 1 | ||||
| -rw-r--r-- | ports/boost-vcpkg-helpers/generate-ports.ps1 | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/ports/boost-python/CONTROL b/ports/boost-python/CONTROL index 645cf8b13..f59353af7 100644 --- a/ports/boost-python/CONTROL +++ b/ports/boost-python/CONTROL @@ -1,5 +1,5 @@ # Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
Source: boost-python
-Version: 1.66.0
+Version: 1.66.0-1
Build-Depends: boost-bind, boost-config, boost-core, boost-detail, boost-graph, boost-integer, boost-iterator, boost-mpl, boost-preprocessor, boost-property-map, boost-smart-ptr, boost-static-assert, boost-tuple, boost-utility, boost-vcpkg-helpers, python3
Description: Boost python module
diff --git a/ports/boost-python/portfile.cmake b/ports/boost-python/portfile.cmake index beb16ad8f..395227990 100644 --- a/ports/boost-python/portfile.cmake +++ b/ports/boost-python/portfile.cmake @@ -16,4 +16,5 @@ 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}")
+boost_modular_build(SOURCE_PATH ${SOURCE_PATH})
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
diff --git a/ports/boost-vcpkg-helpers/generate-ports.ps1 b/ports/boost-vcpkg-helpers/generate-ports.ps1 index cc2929ef4..11f670c7a 100644 --- a/ports/boost-vcpkg-helpers/generate-ports.ps1 +++ b/ports/boost-vcpkg-helpers/generate-ports.ps1 @@ -293,6 +293,7 @@ foreach ($library in $libraries) if ($library -eq "python")
{
$deps += @("python3")
+ $needsBuild = $true
}
elseif ($library -eq "iostreams")
{
|
