Make PythonLibs truly an optional component

PythonLibs is an optional dependency, remove REQUIRED otherwise the
build fails when it is not found.
This commit is contained in:
Pier Luigi Fiorini 2014-08-14 10:57:03 +02:00
parent 4ba9e3d966
commit f2c5f39f64

View File

@ -25,7 +25,7 @@ find_package( YamlCpp 0.5.1 REQUIRED )
option( WITH_PYTHON "Enable Python modules support." ON )
macro_optional_find_package( PythonLibs 3.3 REQUIRED )
macro_optional_find_package( PythonLibs 3.3 )
macro_log_feature(
PYTHONLIBS_FOUND
"Python"