mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 11:45:58 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ if cpp_compiler.has_argument('-std=c++23')
|
||||||
elif cpp_compiler.has_argument('-std=c++2b')
|
elif cpp_compiler.has_argument('-std=c++2b')
|
||||||
add_global_arguments('-std=c++2b', language: 'cpp')
|
add_global_arguments('-std=c++2b', language: 'cpp')
|
||||||
else
|
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
|
endif
|
||||||
|
|
||||||
GIT_BRANCH = run_command('git', 'rev-parse', '--abbrev-ref', 'HEAD', check: false).stdout().strip()
|
GIT_BRANCH = run_command('git', 'rev-parse', '--abbrev-ref', 'HEAD', check: false).stdout().strip()
|
||||||
|
|
Loading…
Reference in a new issue