summaryrefslogtreecommitdiff
path: root/gr-wxgui
diff options
context:
space:
mode:
authorTom Rondeau2011-10-23 21:10:59 -0400
committerTom Rondeau2011-10-23 21:10:59 -0400
commitc63bb2453d9d0e0fc63de9eb9ce54249abacedd1 (patch)
tree99160f950c7ae2b27145525cdf4c7b602d2c944d /gr-wxgui
parent469cb5fd92ca7d1899e64b011d371f04e8830911 (diff)
parent9b58dc91c0bf5a87128a24d8e22a8e19aa974c9f (diff)
downloadgnuradio-c63bb2453d9d0e0fc63de9eb9ce54249abacedd1.tar.gz
gnuradio-c63bb2453d9d0e0fc63de9eb9ce54249abacedd1.tar.bz2
gnuradio-c63bb2453d9d0e0fc63de9eb9ce54249abacedd1.zip
Merge branch 'master' of gnuradio.org:gnuradio
Diffstat (limited to 'gr-wxgui')
-rw-r--r--gr-wxgui/CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/gr-wxgui/CMakeLists.txt b/gr-wxgui/CMakeLists.txt
index 5beb39f5e..7afae785a 100644
--- a/gr-wxgui/CMakeLists.txt
+++ b/gr-wxgui/CMakeLists.txt
@@ -29,11 +29,17 @@ GR_PYTHON_CHECK_MODULE("numpy" numpy True
# Register component
########################################################################
include(GrComponent)
+if(NOT CMAKE_CROSSCOMPILING)
+ set(wxgui_python_deps
+ NUMPY_FOUND
+ WX_FOUND
+ )
+endif(NOT CMAKE_CROSSCOMPILING)
+
GR_REGISTER_COMPONENT("gr-wxgui" ENABLE_GR_WXGUI
ENABLE_GR_CORE
ENABLE_PYTHON
- NUMPY_FOUND
- WX_FOUND
+ ${wxgui_python_deps}
)
########################################################################