From 8f24bef132a3e0f92c9ceff689e93ad334b0f3b2 Mon Sep 17 00:00:00 2001 From: Christoph Lehrenfeld Date: Mon, 20 Apr 2015 09:48:05 +0200 Subject: [PATCH] install python files only if USE_PYTHON is active --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 14e74752..7f4230fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -245,7 +245,9 @@ endif(INSTALL_PROFILES) add_subdirectory(libsrc) add_subdirectory(ng) add_subdirectory(tutorials) -add_subdirectory(python) +if (USE_PYTHON) + add_subdirectory(python) +endif (USE_PYTHON) add_subdirectory(py_tutorials) add_subdirectory(doc) add_subdirectory(windows)