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:
parent
1b165147cd
commit
40ab09bea6
|
@ -4,7 +4,7 @@ FIND_PACKAGE(Boost 1.32.0 COMPONENTS python)
|
||||||
IF (Boost_FOUND)
|
IF (Boost_FOUND)
|
||||||
MESSAGE(STATUS "Found Boost.Python libraries in ${Boost_INCLUDE_DIR} as ${Boost_LIBRARIES}")
|
MESSAGE(STATUS "Found Boost.Python libraries in ${Boost_INCLUDE_DIR} as ${Boost_LIBRARIES}")
|
||||||
ELSE (Boost_FOUND)
|
ELSE (Boost_FOUND)
|
||||||
MESSAGE(FATAL_ERROR "Boost.Python libraries were not found")
|
MESSAGE(STATUS "Boost.Python libraries were not found")
|
||||||
ENDIF (Boost_FOUND)
|
ENDIF (Boost_FOUND)
|
||||||
|
|
||||||
FIND_PACKAGE(PythonLibs REQUIRED)
|
FIND_PACKAGE(PythonLibs REQUIRED)
|
||||||
|
|
Loading…
Reference in New Issue