File freeorion-0.4.10-cmake_python.patch of Package freeorion

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 79abb99fa..b563e5154 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -237,8 +237,8 @@ find_package(Boost ${MINIMUM_BOOST_VERSION}
         thread
     REQUIRED)
 
-find_package(Boost COMPONENTS python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR} REQUIRED)
-set(Boost_PYTHON_SUFFIX "${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}")
+find_package(Boost COMPONENTS python${PYTHON_VERSION_MAJOR} REQUIRED)
+set(Boost_PYTHON_SUFFIX "${PYTHON_VERSION_MAJOR}")
 
 find_package(ZLIB REQUIRED)
 if(NOT BUILD_HEADLESS)
openSUSE Build Service is sponsored by