e72b3acc05
Hyprland is a new wayland compositor/wm with fancy effects OBS-URL: https://build.opensuse.org/request/show/998519 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/hyprland?expand=0&rev=1
32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
From e622def9b4325ab4507544168b05e74da5713112 Mon Sep 17 00:00:00 2001
|
||
From: =?UTF-8?q?Florian=20=22sp1rit=22=E2=80=8B?= <sp1ritCS@protonmail.com>
|
||
Date: Sun, 21 Aug 2022 00:32:55 +0200
|
||
Subject: [PATCH] improve compatability with older meson versions
|
||
MIME-Version: 1.0
|
||
Content-Type: text/plain; charset=UTF-8
|
||
Content-Transfer-Encoding: 8bit
|
||
|
||
- changed <compiler>.get_version() to <compiler>.version()
|
||
|
||
Signed-off-by: Florian "sp1rit" <sp1ritCS@protonmail.com>
|
||
---
|
||
meson.build | 2 +-
|
||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
||
diff --git a/meson.build b/meson.build
|
||
index 9435333..58ef93a 100644
|
||
--- a/meson.build
|
||
+++ b/meson.build
|
||
@@ -15,7 +15,7 @@ if cpp_compiler.has_argument('-std=c++23')
|
||
elif cpp_compiler.has_argument('-std=c++2b')
|
||
add_global_arguments('-std=c++2b', language: 'cpp')
|
||
else
|
||
- error('Could not configure current C++ compiler (' + cpp_compiler.get_id() + ' ' + cpp_compiler.get_version() + ') with required C++ standard (C++23)')
|
||
+ error('Could not configure current C++ compiler (' + cpp_compiler.get_id() + ' ' + cpp_compiler.version() + ') with required C++ standard (C++23)')
|
||
endif
|
||
|
||
GIT_BRANCH = run_command('git', 'rev-parse', '--abbrev-ref', 'HEAD', check: false).stdout().strip()
|
||
--
|
||
2.37.2
|
||
|