fix cmake for lodm