Files
RedBear-OS/local/recipes/libs/lcms2/source/plugins/threaded/testbed/Makefile.am
T
vasilito 1a9d77761e fix(qtdeclarative): properly generate qtquick-config.h features
The qtquick-config.h file was being generated empty by the cmake
build, causing 'division by zero in #if' errors in downstream
consumers (SDDM, KWin) because QT_CONFIG(quick_shadereffect) and
QT_CONFIG(quick_draganddrop) were undefined.

Two fixes:
1. Explicitly enable QT_FEATURE_quick_shadereffect and
   QT_FEATURE_quick_draganddrop in the cmake configuration.
2. Add a safety net that regenerates qtquick-config.h with the
   required feature definitions if cmake produces an empty file.
2026-06-21 15:12:40 +03:00

24 lines
637 B
Makefile

#
# Makefile for building threaded_testbed
#
# Don't require all the GNU mandated files
AUTOMAKE_OPTIONS = 1.7 foreign
AM_CPPFLAGS = -I$(builddir)/../include -I$(srcdir)/../include -I$(srcdir)/../src \
-I$(top_builddir)/include
check_PROGRAMS = threaded_testbed
threaded_testbed_LDADD = $(builddir)/../src/liblcms2_threaded.la $(LCMS_LIB_DEPLIBS)
threaded_testbed_LDFLAGS = -static @LDFLAGS@
threaded_testbed_SOURCES = threaded_testbed.c
EXTRA_DIST = test0.icc test1.icc test2.icc test3.icc test5.icc
check:
if [ "x$(srcdir)" != "x$(builddir)" ]; then \
cp $(srcdir)/test?.icc . ; \
fi
./threaded_testbed