From cf7e7a160444e906afeb71140343ea7f9ce41a96 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20J=C3=BCrges?= <jurges@astron.nl>
Date: Mon, 25 Mar 2019 16:33:53 +0000
Subject: [PATCH] SW-612:  Fix FindBoost for Python3

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

diff --git a/CMake/FindBoost.cmake b/CMake/FindBoost.cmake
index 78dbcebe442..c07b392e538 100644
--- a/CMake/FindBoost.cmake
+++ b/CMake/FindBoost.cmake
@@ -73,6 +73,7 @@ if("${Boost_FIND_COMPONENTS}" MATCHES "python")
         string(REPLACE "python"
                        "python-py${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}"
                Boost_FIND_COMPONENTS "${Boost_FIND_COMPONENTS}")
+        endif(NOT Boost_python_FOUND)
       endif(APPLE)
   endif(PYTHON_VERSION_MAJOR GREATER 2)
   else(PYTHON_FOUND)
-- 
GitLab