Fixed python inclusion of example
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1175 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user