mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 05:15:39 +03:00
improve compatability with older meson versions
- changed <compiler>.get_version() to <compiler>.version() Signed-off-by: Florian "sp1rit" <sp1ritCS@protonmail.com>
This commit is contained in:
parent
39a9980fb1
commit
e9551731f0
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user