Return back the minimal cmake version to 2.8. Compilation error with GUI.