From 079866bf4f0562de31818930f45bd40c40992628 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Mon, 3 Jul 2023 11:21:38 +0200 Subject: [PATCH] Check for libforms for building scopes --- openair1/PHY/TOOLS/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openair1/PHY/TOOLS/CMakeLists.txt b/openair1/PHY/TOOLS/CMakeLists.txt index 0def967792..8acd528617 100644 --- a/openair1/PHY/TOOLS/CMakeLists.txt +++ b/openair1/PHY/TOOLS/CMakeLists.txt @@ -29,6 +29,13 @@ #* \warning #*/ +find_library(forms NAMES forms) +if(NOT forms) + message(FATAL_ERROR "required library forms not found for building scopes") +else() + message(STATUS "libforms library, required for scopes, found at ${forms}") +endif() + include_directories ("/usr/include/X11") add_library(xforms_common OBJECT lte_phy_scope.c