cache cmake variable for *_output_dir

When including this project into another, it is now possible to set
*_output_dir globally