diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2016-04-14 14:04:40 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2016-04-14 14:04:40 -0700 |
commit | 8baaf9c9ccc67304a8ae220fe8d1e1a29134086a (patch) | |
tree | ed372a0a6877d9b74a342a60e0a952274201aa6a /gr-utils/python/modtool | |
parent | 9e966400d3586b76ea5b7dd02f1781904855e916 (diff) | |
parent | 466877ff7eeb651b94927a6726374a613de5a66d (diff) |
Merge remote-tracking branch 'mhostetter/master'
Diffstat (limited to 'gr-utils/python/modtool')
-rw-r--r-- | gr-utils/python/modtool/gr-newmod/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gr-utils/python/modtool/gr-newmod/CMakeLists.txt b/gr-utils/python/modtool/gr-newmod/CMakeLists.txt index 9b41b99f14..6f32f21833 100644 --- a/gr-utils/python/modtool/gr-newmod/CMakeLists.txt +++ b/gr-utils/python/modtool/gr-newmod/CMakeLists.txt @@ -24,6 +24,12 @@ cmake_minimum_required(VERSION 2.6) project(gr-howto CXX C) enable_testing() +#install to PyBOMBS target prefix if defined +if(DEFINED ENV{PYBOMBS_PREFIX}) + set(CMAKE_INSTALL_PREFIX $ENV{PYBOMBS_PREFIX}) + message(STATUS "PyBOMBS installed GNU Radio. Setting CMAKE_INSTALL_PREFIX to $ENV{PYBOMBS_PREFIX}") +endif() + #select the release build type by default to get optimization flags if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Release") |