]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
cmake: Generate the same DBus1Config with Meson as with Autotools
authorSimon McVittie <smcv@collabora.com>
Fri, 24 Jun 2022 10:12:12 +0000 (11:12 +0100)
committerSimon McVittie <smcv@collabora.com>
Wed, 13 Jul 2022 19:36:13 +0000 (20:36 +0100)
DBus1Config.cmake.in relies on DBus1Targets.cmake, which is generated
by CMake. DBus1Config.pkgconfig.in uses pkg-config and is independent
of CMake.

Signed-off-by: Simon McVittie <smcv@collabora.com>
cmake/meson.build

index 799f5d24ea8c9e14b5978b05c79d15e116ba6a90..863e6ee33a0d917a4338304cf14189e0992d016c 100644 (file)
@@ -27,7 +27,7 @@ cmake_config.set('DBUS_VERSION',            version)
 
 cmake_files = [
     configure_file(
-        input: 'DBus1Config.cmake.in',
+        input: 'DBus1Config.pkgconfig.in',
         output: 'DBus1Config.cmake',
         configuration: cmake_config,
     ),