[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/03: cmake: changing where GR_CTRLPORT is
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/03: cmake: changing where GR_CTRLPORT is defined to properly go into config.h. |
Date: |
Sat, 8 Mar 2014 20:33:19 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch master
in repository gnuradio.
commit 84d6a90dbc2aa547cc5482b264f4d68c5ef799a4
Author: Tom Rondeau <address@hidden>
Date: Sat Mar 8 15:30:25 2014 -0500
cmake: changing where GR_CTRLPORT is defined to properly go into config.h.
---
CMakeLists.txt | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b1f7348..1bd5a91 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -56,11 +56,6 @@ IF(NOT DEFINED BOOST_ROOT)
SET(BOOST_ROOT ${CMAKE_INSTALL_PREFIX})
ENDIF()
-if(ENABLE_GR_CTRLPORT)
- set(GR_CTRLPORT True)
- add_definitions(-DGR_CTRLPORT)
-endif(ENABLE_GR_CTRLPORT)
-
########################################################################
# Import executables from a native build (for cross compiling)
#
http://www.vtk.org/Wiki/CMake_Cross_Compiling#Using_executables_in_the_build_created_during_the_build
@@ -333,6 +328,12 @@ add_subdirectory(gr-fcd)
add_subdirectory(gr-wavelet)
add_subdirectory(gr-wxgui)
+# Defining GR_CTRLPORT for gnuradio/config.h
+if(ENABLE_GR_CTRLPORT)
+ set(GR_CTRLPORT True)
+ add_definitions(-DGR_CTRLPORT)
+endif(ENABLE_GR_CTRLPORT)
+
# Install our Cmake modules into $prefix/lib/cmake/gnuradio
# See "Package Configuration Files" on page:
# http://www.cmake.org/Wiki/CMake/Tutorials/Packaging