[Graph]: fix cmake.