summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4979e34983..64a5ee55fa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -231,8 +231,11 @@ add_subdirectory(gr-video-sdl)
add_subdirectory(gr-vocoder)
add_subdirectory(gr-fcd)
add_subdirectory(gr-wxgui)
-add_subdirectory(gnuradio-examples/grc)
-add_subdirectory(gnuradio-examples/python)
+
+if(ENABLE_PYTHON)
+ add_subdirectory(gnuradio-examples/grc)
+ add_subdirectory(gnuradio-examples/python)
+endif(ENABLE_PYTHON)
#finalize cpack after subdirs processed
include(GrPackage)