Cannot pass `GIT_SUBMODULES ""` to disable submodule updates
CraigHutchinson opened this issue · comments
Craig Hutchinson commented
This is due to using UNPARSED_ARGUMENTS
is being used internally which removes empty values erroneously!
https://gitlab.kitware.com/cmake/cmake/-/issues/24578
Craig Hutchinson commented
NOTE: need to check if the 'internal' issue on FetchContent>ExternalProject changes can be applied to CPM as a fix: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4729/diffs
Craig Hutchinson commented
Most notably this change to use a potentially 'compatible' variant of cmake_parse_arguments
using PARSE_ARGV
TBC:
- cmake_parse_arguments(ARG "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
+ cmake_parse_arguments(PARSE_ARGV 1 ARG
+ "${options}" "${oneValueArgs}" "${multiValueArgs}")
Craig Hutchinson commented