make cmake call work