From 6d628b23f99ff3a8a495eb79adf4a0de6e045a9e Mon Sep 17 00:00:00 2001 From: scorpion-26 <58082714+scorpion-26@users.noreply.github.com> Date: Thu, 4 May 2023 17:02:03 +0200 Subject: [PATCH] Always require STB --- README.md | 8 ++++++-- meson.build | 5 +---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a16af2a..da7cfb0 100644 --- a/README.md +++ b/README.md @@ -15,13 +15,17 @@ My personal blazingly fast and efficient status bar + widgets, in case anyone fi - meson, gcc/clang, ninja ## Building and installation (Manually) -1. Configure with meson +1. Clone gBar recursively + ``` + git clone https://github.com/scorpion-26/gBar --recursive + ``` +2. Configure with meson *All optional dependencies enabled* ``` meson setup build ``` - 2. Build and install +3. Build and install ``` ninja -C build && sudo ninja -C build install ``` diff --git a/meson.build b/meson.build index df83791..458c8fc 100644 --- a/meson.build +++ b/meson.build @@ -119,10 +119,7 @@ add_global_arguments('-DUSE_LOGFILE', language: 'cpp') # stb fs = import('fs') stb = include_directories('thirdparty') -if fs.exists('thirdparty/stb/stb_image.h') - add_global_arguments('-DHAS_STB', language: 'cpp') -endif - +add_global_arguments('-DHAS_STB', language: 'cpp') libgBar = library('gBar',