From d9617841e085f8d62bafb5a6994db96807aacdcd Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Sat, 4 Mar 2017 13:07:36 +0000 Subject: [PATCH] [CMake] Python examples should only be copied over if python bindings are being built. --- contrib/cmake/examples/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/cmake/examples/CMakeLists.txt b/contrib/cmake/examples/CMakeLists.txt index e596ed3dd..04df6e6b4 100644 --- a/contrib/cmake/examples/CMakeLists.txt +++ b/contrib/cmake/examples/CMakeLists.txt @@ -1,4 +1,6 @@ add_subdirectory(c) add_subdirectory(c++) add_subdirectory(tptp) -add_subdirectory(python) +if (BUILD_PYTHON_BINDINGS) + add_subdirectory(python) +endif()