From 22815c914c48bfd287ef643438d8cef07c0ae6d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 27 May 2014 10:33:25 +0000 Subject: [PATCH] moc does not understand all flags; refs #40 --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index fb9e3c6..3b949e7 100644 --- a/configure.in +++ b/configure.in @@ -115,7 +115,7 @@ PKG_CHECK_MODULES([QT], [Qt5Core Qt5Gui Qt5Widgets Qt5Network], RCC=${RCC:-$(pkg-config --variable=rcc_location Qt5Core)} LUPDATE=${LUPDATE:-$(pkg-config --variable=lupdate_location Qt5Core)} LRELEASE=${LRELEASE:-$(pkg-config --variable=lrelease_location Qt5Core)} - CXXFLAGS+=" -DQT_NETWORK_LIB ${QT_CFLAGS}" + CPPFLAGS+=" -DQT_NETWORK_LIB ${QT_CFLAGS}" LIBS+=" ${QT_LIBS}" have_qt=1], [PKG_CHECK_MODULES([QT], [QtCore QtGui QtNetwork], @@ -125,7 +125,7 @@ PKG_CHECK_MODULES([QT], [Qt5Core Qt5Gui Qt5Widgets Qt5Network], RCC=${RCC:-$(pkg-config --variable=rcc_location QtCore)} LUPDATE=${LUPDATE:-$(pkg-config --variable=lupdate_location QtCore)} LRELEASE=${LRELEASE:-$(pkg-config --variable=lrelease_location QtCore)} - CXXFLAGS+=" -DQT_NETWORK_LIB ${QT_CFLAGS}" + CPPFLAGS+=" -DQT_NETWORK_LIB ${QT_CFLAGS}" LIBS+=" ${QT_LIBS}" have_qt=1], [have_qt=0])])