Skip to content

Commit

Permalink
update c++23 flag for apple-clang 16
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 committed Sep 11, 2024
1 parent 869281c commit fe683ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion conan/tools/build/flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,10 @@ def _cppstd_apple_clang(clang_version, cppstd):
v17 = "c++1z"
vgnu17 = "gnu++1z"

if clang_version >= "13.0":
if clang_version >= "16.0":
v23 = "c++23"
vgnu23 = "gnu++23"
elif clang_version >= "13.0":
v20 = "c++20"
vgnu20 = "gnu++20"
elif clang_version >= "10.0":
Expand Down

0 comments on commit fe683ad

Please sign in to comment.