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:
parent
dcbaf5d037
commit
85351febb8
1 changed files with 8 additions and 1 deletions
9
Makefile
9
Makefile
|
@ -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 ########
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue