When not finding Boost.Python libraries : do not stop compilation (FATAL_ERROR) but do not compile PyTechno.cpp and do not try to create python module.

This commit is contained in:
Damien Dupuis 2010-04-06 07:40:50 +00:00
parent 1b165147cd
commit 40ab09bea6
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ FIND_PACKAGE(Boost 1.32.0 COMPONENTS python)
IF (Boost_FOUND)
MESSAGE(STATUS "Found Boost.Python libraries in ${Boost_INCLUDE_DIR} as ${Boost_LIBRARIES}")
ELSE (Boost_FOUND)
MESSAGE(FATAL_ERROR "Boost.Python libraries were not found")
MESSAGE(STATUS "Boost.Python libraries were not found")
ENDIF (Boost_FOUND)
FIND_PACKAGE(PythonLibs REQUIRED)