summaryrefslogtreecommitdiff
path: root/testing/source/vtown/kde/cmake/xdg-desktop-portal-kde
blob: 78b9a7cea3ef831c5240a5ee5cecc51ea16311b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
mkdir cmake-build
cd cmake-build
  cmake \
    $KDE_OPT_ARGS \
    -DKDE_PLATFORM_FEATURE_DISABLE_DEPRECATED=TRUE \
    -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
    -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
    -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
    -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DLIB_SUFFIX=${LIBDIRSUFFIX} \
    -DKDE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
    -DKDE_INSTALL_LIBEXECDIR=lib$LIBDIRSUFFIX \
    -DKDE_INSTALL_MANDIR=/usr/man \
    -DKDE_INSTALL_QTPLUGINDIR=lib$LIBDIRSUFFIX/qt5/plugins \
    -DKDE_INSTALL_QMLDIR=lib$LIBDIRSUFFIX/qt5/qml \
    -DKDE_INSTALL_SYSCONFDIR=/etc/kde \
    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
    -DBUILD_TESTING=OFF \
    -DENABLE_PIPEWIRE=OFF \
    -DQca-qt5_DIR=/usr/lib${LIBDIRSUFFIX}/cmake/Qca \
    ..