Skip to content

Commit

Permalink
Maintain key-value CMake formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
CraigHutchinson committed Mar 23, 2023
1 parent 68717e5 commit 303ae81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/CPM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 303ae81

Please sign in to comment.