summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2016-04-14 14:04:40 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2016-04-14 14:04:40 -0700
commit8baaf9c9ccc67304a8ae220fe8d1e1a29134086a (patch)
treeed372a0a6877d9b74a342a60e0a952274201aa6a /gr-utils/python/modtool
parent9e966400d3586b76ea5b7dd02f1781904855e916 (diff)
parent466877ff7eeb651b94927a6726374a613de5a66d (diff)
Merge remote-tracking branch 'mhostetter/master'
Diffstat (limited to 'gr-utils/python/modtool')
-rw-r--r--gr-utils/python/modtool/gr-newmod/CMakeLists.txt6
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")