Translations:Compile from source/14/en

From Fcitx
Jump to navigation Jump to search

For example, build Fcitx with all im module, and install to /usr. If your distribution make use of /usr/lib64, you should add -DLIB_INSTALL_DIR=/usr/lib64(default "lib").

cd /path/to/source
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_GTK3_IM_MODULE=ON -DENABLE_QT_IM_MODULE=ON
make
sudo make install