merlimat closed pull request #2608: Enforce boost-python was found by CMake

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/pulsar-client-cpp/docker/ 
index ebbb441cac..32925194ec 100755
--- a/pulsar-client-cpp/docker/
+++ b/pulsar-client-cpp/docker/
@@ -33,6 +33,7 @@ PYTHON_VERSIONS=(
    '3.4 cp34-cp34m'
    '3.5 cp35-cp35m'
    '3.6 cp36-cp36m'
+   '3.7 cp37-cp37m'
 function contains() {
diff --git a/pulsar-client-cpp/python/CMakeLists.txt 
index 9ddbc017c1..2c51f6d0b0 100644
--- a/pulsar-client-cpp/python/CMakeLists.txt
+++ b/pulsar-client-cpp/python/CMakeLists.txt
@@ -48,8 +48,17 @@ endif()
+if (APPLE)
+                         ${Boost_PYTHON27-MT_LIBRARY_RELEASE} 
 message(STATUS "Using Boost Python libs: ${PYTHON_WRAPPER_LIBS}")
+    MESSAGE(FATAL_ERROR "Could not find Boost Python library")
+endif ()
 if (APPLE)
     target_link_libraries(_pulsar -Wl,-all_load pulsarStatic 
 else ()


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

Reply via email to