diff options
author | Eric Hameleers <alien@slackware.com> | 2017-04-20 21:32:33 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2017-04-20 21:32:33 +0200 |
commit | e71879ef4de231c224f959c00f2fc2d3e6f11d6e (patch) | |
tree | fccfc1f5ca8116ed2fba9b6b4fb6d7f768499863 /kde/cmake/kajongg | |
parent | e6e68babca350e6d3b91e1853a77b0595aa6b18b (diff) | |
download | ktown-e71879ef4de231c224f959c00f2fc2d3e6f11d6e.tar.gz ktown-e71879ef4de231c224f959c00f2fc2d3e6f11d6e.tar.xz |
Process the changes in the new Applications 17.04
Diffstat (limited to 'kde/cmake/kajongg')
-rw-r--r-- | kde/cmake/kajongg | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kde/cmake/kajongg b/kde/cmake/kajongg index 83b8c47..32a909b 100644 --- a/kde/cmake/kajongg +++ b/kde/cmake/kajongg @@ -1,10 +1,3 @@ -# Temporary kludge to allow badly ported app to compile: -if ! grep -q 'cmake_minimum_required' CMakeLists.txt ; then - # Prepend a cmake_minimum_required stanza at the top, which enables - # newer cmake features which the build needs: - sed -i -e '1icmake_minimum_required(VERSION 2.8.9)\' CMakeLists.txt -fi - mkdir build cd build cmake \ @@ -19,6 +12,13 @@ cd build -DMAN_INSTALL_DIR=/usr/man \ -DSYSCONF_INSTALL_DIR=/etc/kde \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DLIB_INSTALL_DIR=lib$LIBDIRSUFFIX \ + -DLIBEXEC_INSTALL_DIR=lib$LIBDIRSUFFIX \ + -DQT_PLUGIN_INSTALL_DIR=lib$LIBDIRSUFFIX/qt5/plugins \ + -DQML_INSTALL_DIR=lib$LIBDIRSUFFIX/qt5/qml \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ + -DBUILD_TESTING=OFF \ + -DQca-qt5_DIR=/usr/lib${LIBDIRSUFFIX}/cmake/Qca \ -DINSTALL_KAJONGG=TRUE \ .. |