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.
This commit is contained in:
parent
545eed3a24
commit
0296de9cd1
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue