From e12553e7202b2c8a636c99ad3bf53ca288aba17f Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sat, 13 Aug 2011 09:23:55 -0700 Subject: grc: only perform python checks when not building cross --- grc/CMakeLists.txt | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'grc') 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} ) ######################################################################## -- cgit