From a5935a6a7d5e3230060efb6b1387adcee23078f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20J=C3=BCrges?= <jurges@astron.nl>
Date: Tue, 23 Apr 2019 15:09:17 +0000
Subject: [PATCH] SW-658: Correct CMake's finding of Boost's Python libs for
 Ubuntu 18 again

---
 CMake/FindBoost.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMake/FindBoost.cmake b/CMake/FindBoost.cmake
index 24fa3276d85..bf15566a3c2 100644
--- a/CMake/FindBoost.cmake
+++ b/CMake/FindBoost.cmake
@@ -70,7 +70,7 @@ if("${Boost_FIND_COMPONENTS}" MATCHES "python")
                Boost_FIND_COMPONENTS "${Boost_FIND_COMPONENTS}")
       else(APPLE)
         if(EXISTS "/etc/debian_version")
-            string(REPLACE "python" "python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}" Boost_FIND_COMPONENTS "${Boost_FIND_COMPONENTS}")
+            string(REPLACE "python" "python-py${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}" Boost_FIND_COMPONENTS "${Boost_FIND_COMPONENTS}")
         else(EXISTS "/etc/debian_version")
             string(REPLACE "python" "python3" Boost_FIND_COMPONENTS "${Boost_FIND_COMPONENTS}")
         endif(EXISTS "/etc/debian_version")
-- 
GitLab