aboutsummaryrefslogtreecommitdiff
path: root/ports/boost-python/b2-options.cmake
diff options
context:
space:
mode:
authorKevin Lalumiere <klalumiere@coveo.com>2020-12-29 19:09:35 -0500
committerGitHub <noreply@github.com>2020-12-29 16:09:35 -0800
commit1e736c7eb4712037ba95cd93c48b81962914a50d (patch)
tree2d5366aee1fa616bc854bac39c56cba822266bab /ports/boost-python/b2-options.cmake
parentb0dd196533535eff0aba5bf6a46446635835a2b0 (diff)
downloadvcpkg-1e736c7eb4712037ba95cd93c48b81962914a50d.tar.gz
vcpkg-1e736c7eb4712037ba95cd93c48b81962914a50d.zip
Adds `python-debugging=on` to `B2_OPTIONS_DBG` (#15352)
... when BOOST_DEBUG_PYTHON is inside the VCPKG_CXX_FLAGS_DEBUG, i.e. fixes 15350
Diffstat (limited to 'ports/boost-python/b2-options.cmake')
-rw-r--r--ports/boost-python/b2-options.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/boost-python/b2-options.cmake b/ports/boost-python/b2-options.cmake
index 5cc0a8da0..3713424ed 100644
--- a/ports/boost-python/b2-options.cmake
+++ b/ports/boost-python/b2-options.cmake
@@ -21,3 +21,8 @@ string(REPLACE ";" "," BUILD_PYTHON_VERSIONS "${BUILD_PYTHON_VERSIONS}")
list(APPEND B2_OPTIONS
python=${BUILD_PYTHON_VERSIONS}
)
+if(VCPKG_CXX_FLAGS_DEBUG MATCHES "BOOST_DEBUG_PYTHON")
+ list(APPEND B2_OPTIONS_DBG
+ python-debugging=on
+ )
+endif()