mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
tools: compile conf2json only of libconfig is available
This commit is contained in:
parent
c042dd4a0b
commit
d5a3737596
1 changed files with 3 additions and 1 deletions
|
@ -20,9 +20,11 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
###################################################################################
|
||||
|
||||
ifeq ($(WITH_JSON),1)
|
||||
ifeq ($(WITH_CONFIG),1)
|
||||
ifeq ($(shell $(PKGCONFIG) libconfig; echo $$?),0)
|
||||
TOOLS += $(BUILDDIR)/conf2json
|
||||
endif
|
||||
endif
|
||||
|
||||
TOOLS_CFLAGS = $(CFLAGS)
|
||||
TOOLS_LDLIBS = -lconfig -ljansson -lvillas
|
||||
|
|
Loading…
Add table
Reference in a new issue