From cc08cfa957ad05c770004fc3d103b7f9897c3fe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Tue, 16 Sep 2014 14:56:01 +0000 Subject: [PATCH] Fixed python inclusion of example git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1175 fdac6126-5c0c-442c-9429-916003d36597 --- src/Python/CMakeLists.txt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/Python/CMakeLists.txt b/src/Python/CMakeLists.txt index b791cc8f..ddff3f63 100644 --- a/src/Python/CMakeLists.txt +++ b/src/Python/CMakeLists.txt @@ -37,15 +37,7 @@ IF(OPENMESH_BUILD_PYTHON_BINDINGS) MESSAGE(STATUS "Looking for Boost Python") - # Look for version specific python component - FOREACH(VERSION ${BOOST_KNOWN_VERSIONS}) - IF(Boost_FOUND) - BREAK() - ENDIF() - FIND_PACKAGE(Boost ${VERSION} EXACT QUIET COMPONENTS ${BOOST_PYTHON_COMPONENT}) - ENDFOREACH() - - # Look for any other python component + # Look for python component FOREACH(VERSION ${BOOST_KNOWN_VERSIONS}) IF(Boost_FOUND) BREAK()