summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--grc/CMakeLists.txt14
1 files changed, 10 insertions, 4 deletions
diff --git a/grc/CMakeLists.txt b/grc/CMakeLists.txt
index ee422a4da..eec35d27c 100644
--- a/grc/CMakeLists.txt
+++ b/grc/CMakeLists.txt
@@ -32,14 +32,20 @@ GR_PYTHON_CHECK_MODULE("numpy" numpy True
# Register component
########################################################################
INCLUDE(GrComponent)
+IF(NOT CMAKE_CROSSCOMPILING)
+ SET(grc_python_deps
+ CHEETAH_FOUND
+ LXML_FOUND
+ PYGTK_FOUND
+ NUMPY_FOUND
+ )
+ENDIF(NOT CMAKE_CROSSCOMPILING)
+
GR_REGISTER_COMPONENT("gnuradio-companion" ENABLE_GRC
ENABLE_GR_CORE_
ENABLE_PYTHON_
PYTHON_MIN_VER_FOUND
- CHEETAH_FOUND
- LXML_FOUND
- PYGTK_FOUND
- NUMPY_FOUND
+ ${grc_python_deps}
)
########################################################################