Skip to content

Commit 4f1eb15

Browse files
committed
chore(error): set subgroups hwrap option in .cmake-format
1 parent 03ffc1a commit 4f1eb15

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

error/.cmake-format

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"line_width": 120
2+
"line_width": 120,
3+
"max_subgroups_hwrap": 3
34
}

error/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@ if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
3737
endif()
3838

3939
# Get all targets in this directory
40-
get_property(
41-
TARGETS
42-
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
43-
PROPERTY BUILDSYSTEM_TARGETS)
40+
get_property(TARGETS DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY BUILDSYSTEM_TARGETS)
4441

4542
foreach(TARGET IN LISTS TARGETS)
4643
# Statically analyze code by checking for warnings

0 commit comments

Comments
 (0)