Syntax for cmake: cmake <dir> -DWEECHAT_HOME="~/.weechat" Syntax for configure: ./configure WEECHAT_HOME="~/.weechat"