ExternalProject: Fix cache generation when last args ends with "-NOTFOUND"
- The :module:
ExternalProject
can now successfully generate the cache file when the last cache variable-Dvar:STRING=value
associated with eitherCMAKE_CACHE_ARG
orCMAKE_DEFAULT_CACHE_ARGS
configure step option is set to a value ending with-NOTFOUND
.
Edited by Ben Boeckel