summaryrefslogtreecommitdiffstats
path: root/kde/pre-install/kdepimlibs4.pre-install
blob: d120701962b0ae38107b898e248194ad16a6fabd (plain) (blame)
1
2
3
4
5
6
7
8
9
# Temporary (hopefully) fix:
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

# Don't build gpgme++ 
sed -e '/gpgme++/d' -e '/qgpgme/d' -i CMakeLists.txt