提交 396df8a9 编写于 作者: R Romain Vimont

Provide config.h.in for old meson versions

The current meson version is able to generate a config.h from a
configuration data object without any template.

However, older versions of meson require a template, so provide it for
compatibility.
上级 3ed80a1f
......@@ -59,7 +59,7 @@ conf.set('DEFAULT_BIT_RATE', '4000000') # 4Mbps
# SKIP_FRAMES improves latency at the cost of framerate
conf.set('SKIP_FRAMES', true)
configure_file(configuration: conf, output: 'config.h')
configure_file(configuration: conf, input: 'src/config.h.in', output: 'config.h')
executable('scrcpy', src, dependencies: dependencies)
......
#mesondefine BUILD_DEBUG
#mesondefine SCRCPY_VERSION
#mesondefine DEFAULT_LOCAL_PORT
#mesondefine DEFAULT_MAX_SIZE
#mesondefine DEFAULT_BIT_RATE
#mesondefine SKIP_FRAMES
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册