Try to fix code snippets on macOS (#21111)

This commit is contained in:
Ilya Lavrenov authored and GitHub committed 2023-11-16 13:05:16 +04:00
1 parent 315c916ced
commit aee4865b2f
2 files changed
+3

No files matched your search

@@ -32,6 +32,8 @@ if(ENABLE_NCC_STYLE)
set(clang_version 14)
elseif(Python3_VERSION_MINOR EQUAL 11)
set(clang_version 14)
elseif(Python3_VERSION_MINOR EQUAL 12)
set(clang_version 15)
else()
message(WARNING "Cannot suggest clang package for python ${Python3_VERSION_MAJOR}.${Python3_VERSION_MINOR}")
endif()
@@ -2,4 +2,5 @@ clang==12.0.1; python_version == '3.8'
clang==12.0.1; python_version == '3.9'
clang==14.0; python_version == '3.10'
clang==14.0; python_version == '3.11'
clang==15.0.7; python_version == '3.12'
pyyaml