diff options
author | Tom Rondeau | 2012-04-02 22:50:15 -0400 |
---|---|---|
committer | Tom Rondeau | 2012-04-02 22:50:15 -0400 |
commit | 54b761bfced5574377c1e1a0295fbe3720c104b8 (patch) | |
tree | c3e00e59b2ecda91fbe04be93eb27abd9cb6ec9b | |
parent | b7090a711a9c99dee18115d73af742594121331d (diff) | |
download | gnuradio-54b761bfced5574377c1e1a0295fbe3720c104b8.tar.gz gnuradio-54b761bfced5574377c1e1a0295fbe3720c104b8.tar.bz2 gnuradio-54b761bfced5574377c1e1a0295fbe3720c104b8.zip |
build: don't install Python and GRC examples if Python is disabled.
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4979e3498..64a5ee55f 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) |