ExternalProject: Fix cache generation when args end with "-NOTFOUND"
The ExternalProject
can now successfully generate the cache
file when any (not only the last one) cache variable associated with
either CMAKE_CACHE_ARG
or CMAKE_DEFAULT_CACHE_ARGS
configure step
option is set to a <value>
ending with -NOTFOUND
.
Generalizes !1838 (merged).
Edited by Brad King