diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-04 15:25:40 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-04 15:25:40 +0100 |
commit | 5fb5b34f5c2f5d0a3210708c04779367b1072c32 (patch) | |
tree | 4c79a1cbb4c0f3b35db12b43c9262d7baf2a70be /common.mk | |
parent | 14624e39aff9239d5f016af1c0553483c856555b (diff) |
Adjust to new lib API
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -97,6 +97,9 @@ LIBS+= \ CXXTYPE=g++ endif +CXXFLAGS+=$(shell pkg-config --cflags fmt) +LIBS+=$(shell pkg-config --libs fmt) + SRC_ROOT=$(shell echo $(MAKEFILE_LIST) | tr " " "\n" | grep common.mk | sed -e 's/\([^ ]*\)common.mk/\1/g') VERSION=$(shell dpkg-parsechangelog --show-field Version --file $(SRC_ROOT)/debian/changelog) CXXFLAGS+=-DVERSION=\"$(VERSION)\" |