improved python detection in CMakeLists.txt (fixes #98)
diff --git a/docs/cmake.rst b/docs/cmake.rst
index eb1f885..238132f 100644
--- a/docs/cmake.rst
+++ b/docs/cmake.rst
@@ -38,6 +38,9 @@
       find_package(PythonLibs REQUIRED)
     endif()
 
+    # The above sometimes returns version numbers like "3.4.3+"; the "+" must be removed for the next lines to work
+    string(REPLACE "+" "" PYTHONLIBS_VERSION_STRING "+${PYTHONLIBS_VERSION_STRING}")
+
     # Uncomment the following line if you will also require a matching Python interpreter
     # find_package(PythonInterp ${PYTHONLIBS_VERSION_STRING} EXACT REQUIRED)