Detect when ccmake has been executed yet in order to report a more explicit error