1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

make libconfig optional but keep it for backwards compatability with old config files

This commit is contained in:
Steffen Vogel 2017-08-03 00:21:07 +02:00
parent dcbaf5d037
commit 85351febb8

View file

@ -45,6 +45,9 @@ V ?= 2
# Platform
PLATFORM ?= $(shell uname)
# Enable supprot for libconfig configuration files
WITH_CONFIG ?= 1
# Common flags
LDLIBS =
CFLAGS += -I. -Iinclude -Iinclude/villas
@ -116,7 +119,11 @@ else
endif
# pkg-config dependencies
PKGS = libconfig openssl
PKGS = openssl jansson
ifeq ($(WITH_CONFIG),1)
PKGS += libconfig
endif
######## Targets ########