mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-17 14:47:30 -05:00
Maintain key-value CMake formatting
This commit is contained in:
committed by
Craig Hutchinson
parent
5c1ce67e3b
commit
f4fd660d09
@@ -537,10 +537,12 @@ macro(cpm_add_package_single_arg arg)
|
||||
cpm_parse_add_package_single_arg("${arg}" __ARGN_multi)
|
||||
|
||||
# The shorthand syntax implies EXCLUDE_FROM_ALL
|
||||
# cmake-format: off
|
||||
list(APPEND __ARGN_multi
|
||||
EXCLUDE_FROM_ALL YES
|
||||
SYSTEM YES
|
||||
)
|
||||
# cmake-format: on
|
||||
|
||||
cpm_add_package_multi_arg(${__ARGN_multi}) # Forward function arguments to CPMAddPackage()
|
||||
endmacro()
|
||||
|
||||
Reference in New Issue
Block a user