[cmake] default DEPENDS_PATH to CMAKE_INSTALL_PREFIX, bail if neither are available