cmake arg that allows switching to single threaded gui and graphics