mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
Updated to latest polkit-qt5 from upstream. Fixes to polkit-qt4 in KDE4 section.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@13404 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
b45b5ea071
commit
88c28a598c
@ -88,7 +88,9 @@
|
|||||||
cd build &&
|
cd build &&
|
||||||
|
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
|
cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
|
||||||
-DLIB_DESTINATION=&kde-dir;/lib \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
|
-DUSE_QT4=TRUE \
|
||||||
-Wno-dev .. &&
|
-Wno-dev .. &&
|
||||||
make</userinput></screen>
|
make</userinput></screen>
|
||||||
|
|
||||||
@ -105,8 +107,23 @@ make</userinput></screen>
|
|||||||
<sect2 role="commands">
|
<sect2 role="commands">
|
||||||
<title>Command Explanations</title>
|
<title>Command Explanations</title>
|
||||||
|
|
||||||
<para><option>-DLIB_DESTINATION=&kde-dir;/lib</option>: This option ensures
|
<para>
|
||||||
the library is installed in &kde-dir;/lib and not &kde-dir;/lib64.</para>
|
<parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
||||||
|
to apply higher level of the compiler optimizations.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
<parameter>-DCMAKE_INSTALL_LIBDIR=lib</parameter>: This switch is
|
||||||
|
used to get libraries to install to <filename
|
||||||
|
class="directory">&kde-dir;/lib</filename> instead of <filename
|
||||||
|
class="directory">&kde-dir;/lib64</filename> on a 64 bit system.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
<parameter>-DUSE_QT4=TRUE</parameter>: This switch is used to ensure
|
||||||
|
that <application>Qt4</application> version of the library is
|
||||||
|
built even if <application>Qt5</application> is present.
|
||||||
|
</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user