diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2019-09-27 10:41:02 -0700 |
|---|---|---|
| committer | Curtis J Bezault <curtbezault@gmail.com> | 2019-09-27 10:41:02 -0700 |
| commit | 9433136b22b5e443d550ca7665a562637c8a86b9 (patch) | |
| tree | bf29de1962d1810f52e1d8537734ad3def9ea52d /scripts/boost/post-source-stubs/python.cmake | |
| parent | 50b49af28a7ab619b341f3ba20d47592d302baab (diff) | |
| download | vcpkg-9433136b22b5e443d550ca7665a562637c8a86b9.tar.gz vcpkg-9433136b22b5e443d550ca7665a562637c8a86b9.zip | |
[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
Diffstat (limited to 'scripts/boost/post-source-stubs/python.cmake')
| -rw-r--r-- | scripts/boost/post-source-stubs/python.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/boost/post-source-stubs/python.cmake b/scripts/boost/post-source-stubs/python.cmake new file mode 100644 index 000000000..40b8e0a0b --- /dev/null +++ b/scripts/boost/post-source-stubs/python.cmake @@ -0,0 +1,5 @@ +# 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}")
|
