From 480307d03fb2f95ae6e481ac556bb6845df9bae9 Mon Sep 17 00:00:00 2001 From: Davis King Date: Wed, 10 Aug 2016 09:30:04 -0400 Subject: [PATCH] Added additional search names for boost-python --- dlib/cmake_utils/add_python_module | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlib/cmake_utils/add_python_module b/dlib/cmake_utils/add_python_module index 2f0f8a415..2f0f191a7 100644 --- a/dlib/cmake_utils/add_python_module +++ b/dlib/cmake_utils/add_python_module @@ -57,6 +57,12 @@ if (PYTHON3) # On some systems the boost python3 module is called python-py34 so check # for that one first. FIND_PACKAGE(Boost 1.41.0 COMPONENTS python-py34 ) + if (NOT Boost_FOUND) + FIND_PACKAGE(Boost 1.41.0 COMPONENTS python-py35) + endif() + if (NOT Boost_FOUND) + FIND_PACKAGE(Boost 1.41.0 COMPONENTS python3) + endif() if (NOT Boost_FOUND) FIND_PACKAGE(Boost 1.41.0 COMPONENTS python) endif()