Commit 0296de9c authored by A. Wilcox's avatar A. Wilcox Committed by Timo Teräs

newapkbuild: detect CMakeLists.txt file for CMake

Some CMake packages do not have cmake/ directory, but all have
CMakeLists.txt present in the root directory.
parent 545eed3a
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment