summaryrefslogtreecommitdiff
path: root/gnuradio-runtime
diff options
context:
space:
mode:
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>2020-08-26 14:14:49 +0200
committerDerek Kozel <derek.kozel@gmail.com>2020-09-02 21:33:56 +0100
commit530262c6df3fb9b87a80133dbde5650dbe948c4c (patch)
tree0363ab133276ac2e88beb7cd4df59789ff76b021 /gnuradio-runtime
parent18f64ba685cfc2533e2d7726aa43c524b007d97b (diff)
add an option to enable/disable examples
Diffstat (limited to 'gnuradio-runtime')
-rw-r--r--gnuradio-runtime/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnuradio-runtime/CMakeLists.txt b/gnuradio-runtime/CMakeLists.txt
index e4d5e1df54..bf27d50c29 100644
--- a/gnuradio-runtime/CMakeLists.txt
+++ b/gnuradio-runtime/CMakeLists.txt
@@ -79,7 +79,9 @@ add_subdirectory(lib)
add_subdirectory(apps)
if(ENABLE_PYTHON)
add_subdirectory(python)
- add_subdirectory(examples)
+ if (ENABLE_EXAMPLES)
+ add_subdirectory(examples)
+ endif (ENABLE_EXAMPLES)
endif(ENABLE_PYTHON)
########################################################################