commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 05/10: Added CMake code to find a PyBOMBS i


From: git
Subject: [Commit-gnuradio] [gnuradio] 05/10: Added CMake code to find a PyBOMBS installation target and install the OOT module there.
Date: Thu, 14 Apr 2016 20:43:08 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit 466877ff7eeb651b94927a6726374a613de5a66d
Author: mhostetter <address@hidden>
Date:   Sat Apr 9 15:00:24 2016 -0400

    Added CMake code to find a PyBOMBS installation target and install the OOT 
module there.
---
 gr-utils/python/modtool/gr-newmod/CMakeLists.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gr-utils/python/modtool/gr-newmod/CMakeLists.txt 
b/gr-utils/python/modtool/gr-newmod/CMakeLists.txt
index 9b41b99..6f32f21 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]