mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
iec61850: library now has a pkg-config in upstream repo
This commit is contained in:
parent
81e816621c
commit
ebdb4ba026
1 changed files with 3 additions and 3 deletions
|
@ -90,10 +90,10 @@ endif
|
|||
|
||||
# Enable IEC61850 node-types when libiec61850 is available
|
||||
ifeq ($(WITH_IEC61850),1)
|
||||
ifneq ($(or $(wildcard /usr/include/libiec61850/*), $(wildcard /usr/local/include/libiec61850/*)),)
|
||||
LIB_SRCS += $(wildcard lib/nodes/iec61850_*.c)
|
||||
LIB_LDLIBS += -liec61850
|
||||
ifeq ($(shell $(PKGCONFIG) --atleast-version=1.2.0 libiec61850; echo $$?),0)
|
||||
LIB_SRCS += lib/nodes/iec61850.c lib/nodes/iec61850_sv.c
|
||||
LIB_CFLAGS += -DWITH_IEC61850
|
||||
LIB_PKGS += libiec61850
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue