summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-04-15 13:47:34 +0200
committerMontel Laurent <[email protected]>2015-04-15 13:47:34 +0200
commit86bee750980fdfa567e011db5d65b52a7260bd44 (patch)
treee5bd7fe3a2748a333f1617b8cf37727e70e06c7d
parent2f1794aad9efbd2e3eaa524228f0ea49a3fb186c (diff)
kde4_moc_headers is not necessary in kf5
-rwxr-xr-xkf5/adapt_cmakelists_file.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/kf5/adapt_cmakelists_file.pl b/kf5/adapt_cmakelists_file.pl
index f9b68ce..ee44bef 100755
--- a/kf5/adapt_cmakelists_file.pl
+++ b/kf5/adapt_cmakelists_file.pl
@@ -502,6 +502,10 @@ my @l = map {
warn "Need to add \'include(ECMOptionalAddSubdirectory)\' in $file \n";
}
+ if (/kde4_moc_headers/i) {
+ $_ = "";
+ $modified = 1;
+ }
if (/\.notifyrc/) {
my $regexp = qr/
^(\s*install\s*\(\s*FILES\s+[^\s)]+\.notifyrc\s+DESTINATION\s+)
@@ -538,7 +542,7 @@ my @l = map {
$modified = 1;
}
}
-
+
#kde4_add_plugin(kio_mbox ${kio_mbox_PART_SRCS})