update cmakefiles