summaryrefslogtreecommitdiffhomepage
path: root/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 5770d7d..5041c9b 100644
--- a/common.mk
+++ b/common.mk
@@ -100,3 +100,7 @@ endif
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)\"
+
+LIBS+=$(shell pkg-config --libs fmt)
+CXXFLAGS+=$(shell pkg-config --cflags fmt)
+