1a9d77761e
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.
29 lines
925 B
Meson
29 lines
925 B
Meson
project('libxcvt', 'c',
|
|
version: '0.1.3',
|
|
meson_version: '>= 0.40.0',
|
|
default_options: ['warning_level=1',
|
|
'buildtype=debugoptimized'])
|
|
|
|
libcvt_version = meson.project_version().split('.')
|
|
|
|
cc = meson.get_compiler('c')
|
|
mdep = cc.find_library('m', required : false)
|
|
|
|
prefix = get_option('prefix')
|
|
inc = include_directories('include')
|
|
man = join_paths(prefix, get_option('mandir'))
|
|
|
|
subdir('include')
|
|
subdir('lib')
|
|
# subdir('cvt') -- CLI omitted for Redox target
|
|
# subdir('man') -- manpage omitted for Redox target
|
|
|
|
pkg_mod = import('pkgconfig')
|
|
pkg_mod.generate(libraries : libxcvt,
|
|
version : meson.project_version(),
|
|
name : 'libxcvt',
|
|
description : 'A Library to generate VESA CVT standard timing modelines.')
|
|
|
|
libxcvt_dep = declare_dependency(link_with: libxcvt,
|
|
include_directories: inc)
|