Includes missing arguments in the cpm_prettify_package_arguments function (#511)

This commit is contained in:
Alfi Maulana 2023-10-09 00:48:42 +07:00 committed by GitHub
parent d6d5d0d5ab
commit ee6d879a50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1095,12 +1095,15 @@ function(cpm_prettify_package_arguments OUT_VAR IS_IN_COMMENT)
DOWNLOAD_ONLY
GITHUB_REPOSITORY
GITLAB_REPOSITORY
BITBUCKET_REPOSITORY
GIT_REPOSITORY
SOURCE_DIR
FIND_PACKAGE_ARGUMENTS
NO_CACHE
SYSTEM
GIT_SHALLOW
EXCLUDE_FROM_ALL
SOURCE_SUBDIR
)
set(multiValueArgs URL OPTIONS DOWNLOAD_COMMAND)
cmake_parse_arguments(CPM_ARGS "" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})