summaryrefslogtreecommitdiff
path: root/gr-wavelet/python/wavelet/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'gr-wavelet/python/wavelet/CMakeLists.txt')
-rw-r--r--gr-wavelet/python/wavelet/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-wavelet/python/wavelet/CMakeLists.txt b/gr-wavelet/python/wavelet/CMakeLists.txt
index a1fbf173b9..e1827138ab 100644
--- a/gr-wavelet/python/wavelet/CMakeLists.txt
+++ b/gr-wavelet/python/wavelet/CMakeLists.txt
@@ -29,6 +29,9 @@ if(ENABLE_TESTING)
file(GLOB py_qa_test_files "qa_*.py")
foreach(py_qa_test_file ${py_qa_test_files})
get_filename_component(py_qa_test_name ${py_qa_test_file} NAME_WE)
+ if (CMAKE_CROSSCOMPILING)
+ get_filename_component(py_qa_test_file ${py_qa_test_file} NAME)
+ endif(CMAKE_CROSSCOMPILING)
GR_ADD_TEST(${py_qa_test_name} ${QA_PYTHON_EXECUTABLE} -B ${py_qa_test_file})
endforeach(py_qa_test_file)
endif(ENABLE_TESTING)