Put cmake flags in one file
Fixed foreground setting