X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2FMakefile.am;h=76110950047081b5db38f46fb35b50b6766a1d47;hb=e2306d16931dc8c42997d3dd2f8a387a8cabd05b;hp=34741e8d2133f083654605fbe9f1f323a9db3801;hpb=97d01afc5a48b44e84fadfd019b1d6f28aca004e;p=psensor.git diff --git a/src/Makefile.am b/src/Makefile.am index 34741e8..7611095 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -9,7 +9,7 @@ SUBDIRS += server endif endif -AM_CPPFLAGS =-Wall -Werror \ +AM_CPPFLAGS =-Wall \ -DDEFAULT_WWW_DIR=\""$(pkgdatadir)/www"\"\ -DDATADIR=\""$(datadir)"\"\ -DPSENSOR_DESKTOP_FILE=\""psensor.desktop"\"\ @@ -84,6 +84,10 @@ AM_CPPFLAGS += $(ATASMART_CFLAGS) LIBS += $(ATASMART_LIBS) endif +if LIBUDISKS2 +LIBS += $(LIBUDISKS2_LIBS) +endif + if UNITY psensor_SOURCES += ui_unity.h ui_unity.c AM_CPPFLAGS += $(UNITY_CFLAGS)