Skip to contentSkip to conversation

kernel-shark: Modify FreeSans warning msg for GUI

PATCH Applied Solomon Tan 2 participants 2 messages Apr 22, 2022 – Apr 28, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel-shark: Modify FreeSans warning msg for GUI

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.

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
CMakeLists.txt +1 -1
index 9dd160e..390c7f5 100644
@@ -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)
 
Signature · 1 line
2.36.0
#1 lore raw

Applied.

Thanks Solomon!
Y.

Quoted 22 lines · Solomon Tan

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.

---
  CMakeLists.txt | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
CMakeLists.txt +1 -1
index 9dd160e..390c7f5 100644
@@ -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)