diff --git a/kde/core/polkit-qt.xml b/kde/core/polkit-qt.xml index cadb4ecb59..835d089479 100644 --- a/kde/core/polkit-qt.xml +++ b/kde/core/polkit-qt.xml @@ -88,7 +88,9 @@ cd build && cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \ - -DLIB_DESTINATION=&kde-dir;/lib \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DUSE_QT4=TRUE \ -Wno-dev .. && make @@ -105,8 +107,23 @@ make Command Explanations - : This option ensures - the library is installed in &kde-dir;/lib and not &kde-dir;/lib64. + + -DCMAKE_BUILD_TYPE=Release: This switch is used + to apply higher level of the compiler optimizations. + + + + -DCMAKE_INSTALL_LIBDIR=lib: This switch is + used to get libraries to install to &kde-dir;/lib instead of &kde-dir;/lib64 on a 64 bit system. + + + + -DUSE_QT4=TRUE: This switch is used to ensure + that Qt4 version of the library is + built even if Qt5 is present. +