Use CXXFLAGS instead of CMAKE_PREFIX_PATH

Our cmake respects CXXFLAGS

OK thfr@ (maintainer)
This commit is contained in:
rsadowski 2022-07-19 20:01:00 +00:00
parent 28a1795a49
commit 16960b2eab

View File

@ -39,11 +39,10 @@ LIB_DEPENDS = devel/cryptopp \
net/enet \
x11/qt5/qtmultimedia
CONFIGURE_ARGS = -DCMAKE_PREFIX_PATH="-I${LOCALBASE}/lib/qt5/cmake/Qt5/" \
-DENABLE_CUBEB=OFF \
CONFIGURE_ARGS = -DENABLE_CUBEB=OFF \
-DENABLE_WEB_SERVICE=OFF
CXXFLAGS += -I${LOCALBASE}/include
CXXFLAGS += -I${LOCALBASE}/include -I${LOCALBASE}/lib/qt5/cmake/Qt5/
MODCMAKE_LDFLAGS = -L${LOCALBASE}/lib
do-test: