diff options
author | Amir Masoud Abdol <amirmasoudabdol@icloud.com> | 2023-01-11 18:50:14 +0100 |
---|---|---|
committer | Amir Masoud Abdol <amirmasoudabdol@icloud.com> | 2023-01-20 20:41:30 +0100 |
commit | 1b5562d67764eb7bea28fc4a2fd357810ac1a859 (patch) | |
tree | a53541780065a9f0d7386e3ef58554b4060e4800 /cmake | |
parent | 34d2121d1c2f0b4193496ccfa268c93ac0814e2c (diff) |
Retire the qt_parse_all_arguments
Task-number: QTBUG-99238
Change-Id: I68008cf74ebf7586f0e65005ffbce474a2890146
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/QtRepoSetup.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/QtRepoSetup.cmake b/cmake/QtRepoSetup.cmake index 400ad2e..c093733 100644 --- a/cmake/QtRepoSetup.cmake +++ b/cmake/QtRepoSetup.cmake @@ -9,7 +9,8 @@ function(add_qt_statecharts target) return() endif() - qt_parse_all_arguments(arg "add_qt_statecharts" "" "" "FILES" ${ARGN}) + cmake_parse_arguments(PARSE_ARGV 1 arg "" "" "FILES") + _qt_internal_validate_all_args_are_parsed(arg) qt6_add_statecharts(${target} ${arg_FILES}) endfunction() |