cups-filters: Fix for current gcc

std::string_view is part of c++17

This fixes:
error: 'std::string_view' has not been declared

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk
2023-11-11 23:18:48 +01:00
committed by Khem Raj
parent 1bdab916b1
commit ba28b8f987

View File

@@ -30,6 +30,8 @@ EXTRA_OECONF:class-native += " --with-pdftops=pdftops \
--disable-ldap \
--with-png --without-jpeg --without-tiff"
CXXFLAGS += "-std=c++17"
PACKAGECONFIG[jpeg] = "--with-jpeg,--without-jpeg,jpeg"
PACKAGECONFIG[png] = "--with-png,--without-png,libpng"
PACKAGECONFIG[tiff] = "--with-tiff,--without-tiff,tiff"