summaryrefslogtreecommitdiffstats
path: root/kde/cmake/kajongg
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-09-02 09:49:32 +0200
committer Eric Hameleers <alien@slackware.com>2015-09-02 09:49:32 +0200
commit434e6e6d65bdcdf2bbb05fe6c65462949a0619d7 (patch)
tree1ee0a43e480bbca3951eb19c77978b010ca9c8e7 /kde/cmake/kajongg
parent4cb7b16f28d1831c501c053f7b8deea88308aa7f (diff)
downloadktown-434e6e6d65bdcdf2bbb05fe6c65462949a0619d7.tar.gz
ktown-434e6e6d65bdcdf2bbb05fe6c65462949a0619d7.tar.xz
Updated/added cmake scripts, mainly for new KF5 ports of Applications
Diffstat (limited to 'kde/cmake/kajongg')
-rw-r--r--kde/cmake/kajongg7
1 files changed, 7 insertions, 0 deletions
diff --git a/kde/cmake/kajongg b/kde/cmake/kajongg
index 125582b..83b8c47 100644
--- a/kde/cmake/kajongg
+++ b/kde/cmake/kajongg
@@ -1,3 +1,10 @@
+# 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 \