You are calling `emconfigure ./configure xxx` or `emmake make xxx`, why should it be any different for cmake?