fixing cmake error in file