summaryrefslogtreecommitdiff
path: root/newapkbuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'newapkbuild.in')
-rw-r--r--newapkbuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/newapkbuild.in b/newapkbuild.in
index deb0e44..0e86b39 100644
--- a/newapkbuild.in
+++ b/newapkbuild.in
@@ -216,7 +216,7 @@ __EOF__
buildtype="perl"
elif [ -r "$sdir"/waf ]; then
buildtype="waf"
- elif [ -d "$sdir"/cmake ]; then
+ elif [ -d "$sdir"/cmake ] || [ -r "$sdir/CMakeLists.txt" ]; then
buildtype="cmake"
elif [ -r "$sdir"/Makefile ]; then
buildtype="make"