eigen: svd example, use pkg-config

This commit is contained in:
Ciro Santilli
2018-05-08 22:24:18 +01:00
parent 6b61365556
commit 7cf9f23ae0
5 changed files with 36 additions and 18 deletions

View File

@@ -15,6 +15,7 @@ endif
ifeq ($(BR2_PACKAGE_EIGEN),y)
# Header only.
#LIBS += -leigen
CXXFLAGS_EXTRA += $(shell $(PKG_CONFIG) --cflags --libs eigen3)
else
OUTS := $(filter-out eigen%$(OUT_EXT),$(OUTS))
endif