diff mbox series

kernel-shark: Modify FreeSans warning msg for GUI

Message ID 20220422114259.4162-1-wjsota@gmail.com (mailing list archive)
State Accepted
Commit 46801e434a6a10e33f9d0cd411419efbbd5c9054
Headers show
Series kernel-shark: Modify FreeSans warning msg for GUI | expand

Commit Message

Solomon Tan April 22, 2022, 11:43 a.m. UTC
Make the warning point out that the FreeSans font is required for the
kernelshark GUI. This is to alert the user that the GUI will not be made
when cmake does not detect FreeSans.

Signed-off-by: Solomon Tan <wjsota@gmail.com>
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Yordan Karadzhov April 28, 2022, 6:57 a.m. UTC | #1
Applied.

Thanks Solomon!
Y.

On 22.04.22 г. 14:43 ч., Solomon Tan wrote:
> Make the warning point out that the FreeSans font is required for the
> kernelshark GUI. This is to alert the user that the GUI will not be made
> when cmake does not detect FreeSans.
> 
> Signed-off-by: Solomon Tan <wjsota@gmail.com>
> ---
>   CMakeLists.txt | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/CMakeLists.txt b/CMakeLists.txt
> index 9dd160e..390c7f5 100644
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -69,7 +69,7 @@ if (TT_FONT_FILE)
>   
>   else (TT_FONT_FILE)
>   
> -  message(WARNING "\nCould not find font ${KS_FONT}!\n")
> +  message(WARNING "\nCould not find font ${KS_FONT}! Kernelshark GUI requires font ${KS_FONT}!\n")
>   
>   endif (TT_FONT_FILE)
>
diff mbox series

Patch

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9dd160e..390c7f5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,7 +69,7 @@  if (TT_FONT_FILE)
 
 else (TT_FONT_FILE)
 
-  message(WARNING "\nCould not find font ${KS_FONT}!\n")
+  message(WARNING "\nCould not find font ${KS_FONT}! Kernelshark GUI requires font ${KS_FONT}!\n")
 
 endif (TT_FONT_FILE)