If DUMP1090_VERSION is unset, use "unknown" as the version (not an empty string)

This commit is contained in:
Oliver Jowett 2020-08-05 15:02:33 +08:00
parent 104575c602
commit aa2929196d
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@ ifndef LIMESDR
LIMESDR := $(shell pkg-config --exists LimeSuite && echo "yes" || echo "no")
endif
DUMP1090_VERSION ?= unknown
CPPFLAGS += -DMODES_DUMP1090_VERSION=\"$(DUMP1090_VERSION)\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\"
DIALECT = -std=c11