cmake: Allow CMAKE_INSTALL_PREFIX to be set by environment variable
The discussion in #25023 (closed) did not attracted any comments, so hopefully it is not a terrible idea. Anyhow, any feedback is welcome, even to discuss the original idea described in #25023 (closed) in the first place.
Fixes: #25023 (closed)
Edited by Brad King