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:
parent
4ba9e3d966
commit
f2c5f39f64
@ -25,7 +25,7 @@ find_package( YamlCpp 0.5.1 REQUIRED )
|
|||||||
|
|
||||||
option( WITH_PYTHON "Enable Python modules support." ON )
|
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(
|
macro_log_feature(
|
||||||
PYTHONLIBS_FOUND
|
PYTHONLIBS_FOUND
|
||||||
"Python"
|
"Python"
|
||||||
|
Loading…
Reference in New Issue
Block a user