From f2c5f39f64561be22f3e5a91b1eb1742c4ff1d84 Mon Sep 17 00:00:00 2001 From: Pier Luigi Fiorini Date: Thu, 14 Aug 2014 10:57:03 +0200 Subject: [PATCH] Make PythonLibs truly an optional component PythonLibs is an optional dependency, remove REQUIRED otherwise the build fails when it is not found. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c19c3caf9..81d555fbe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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"