summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/kde5.eclass')
-rw-r--r--eclass/kde5.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 3669536737d3..ebdd790de334 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -773,7 +773,9 @@ _l10n_variant_subdir_buster() {
esac
for subdir in $(find ${dir} -mindepth 1 -maxdepth 1 -type d | sed -e "s:^\./::"); do
- echo "add_subdirectory(${subdir##*/})" >> ${dir}/CMakeLists.txt
+ if [[ ${subdir##*/} != "cmake_modules" ]] ; then
+ echo "add_subdirectory(${subdir##*/})" >> ${dir}/CMakeLists.txt || die
+ fi
done
}