diff options
author | Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> | 2020-08-26 14:14:49 +0200 |
---|---|---|
committer | Derek Kozel <derek.kozel@gmail.com> | 2020-09-02 21:33:56 +0100 |
commit | 530262c6df3fb9b87a80133dbde5650dbe948c4c (patch) | |
tree | 0363ab133276ac2e88beb7cd4df59789ff76b021 /gr-blocks | |
parent | 18f64ba685cfc2533e2d7726aa43c524b007d97b (diff) |
add an option to enable/disable examples
Diffstat (limited to 'gr-blocks')
-rw-r--r-- | gr-blocks/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gr-blocks/CMakeLists.txt b/gr-blocks/CMakeLists.txt index f584bf0d6b..f3dd276abc 100644 --- a/gr-blocks/CMakeLists.txt +++ b/gr-blocks/CMakeLists.txt @@ -37,7 +37,9 @@ add_subdirectory(lib) if(ENABLE_PYTHON) add_subdirectory(python/blocks) add_subdirectory(docs) - add_subdirectory(examples) + if(ENABLE_EXAMPLES) + add_subdirectory(examples) + endif(ENABLE_EXAMPLES) endif(ENABLE_PYTHON) if(ENABLE_GRC) add_subdirectory(grc) |