Skip to content

Commit f4fd660

Browse files
Maintain key-value CMake formatting
1 parent 5c1ce67 commit f4fd660

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/CPM.cmake

+2
Original file line numberDiff line numberDiff line change
@@ -537,10 +537,12 @@ macro(cpm_add_package_single_arg arg)
537537
cpm_parse_add_package_single_arg("${arg}" __ARGN_multi)
538538

539539
# The shorthand syntax implies EXCLUDE_FROM_ALL
540+
# cmake-format: off
540541
list(APPEND __ARGN_multi
541542
EXCLUDE_FROM_ALL YES
542543
SYSTEM YES
543544
)
545+
# cmake-format: on
544546

545547
cpm_add_package_multi_arg(${__ARGN_multi}) # Forward function arguments to CPMAddPackage()
546548
endmacro()

0 commit comments

Comments
 (0)