detect async drawing requisites via cmake