From f616e6f5ad75dd52bd33e3221c6a7d5b32898ea5 Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Thu, 18 Jul 2019 15:36:57 +0200 Subject: [PATCH] SRSUE: Do not add srsue_help nor srsue_version test if the GUI is enabled --- srsue/src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srsue/src/CMakeLists.txt b/srsue/src/CMakeLists.txt index 3003b9317..c92ebbf7c 100644 --- a/srsue/src/CMakeLists.txt +++ b/srsue/src/CMakeLists.txt @@ -52,9 +52,11 @@ endif (RPATH) # UE initialization test ######################################################################## +if(NOT SRSGUI_FOUND) # Make sure srsue returns 0 and it does not leak add_test(srsue_version srsue --version) add_test(srsue_help srsue --help) +endif(NOT SRSGUI_FOUND) # Checks that ue.conf.example is valid and it does not leak memory if RF fails if (ZEROMQ_FOUND)