diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-28 01:39:35 -0500 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-09-28 10:01:10 +0300 |
commit | 0296de9cd1235b6ab14f8f5743b9a409f824c58a (patch) | |
tree | c7498266ba2eb27bd173f2a5ac61740ce0d39b5a | |
parent | 545eed3a242c86566ce7a7ebd0f9f1e296eecbeb (diff) | |
download | abuild-0296de9cd1235b6ab14f8f5743b9a409f824c58a.tar.gz abuild-0296de9cd1235b6ab14f8f5743b9a409f824c58a.tar.bz2 abuild-0296de9cd1235b6ab14f8f5743b9a409f824c58a.tar.xz abuild-0296de9cd1235b6ab14f8f5743b9a409f824c58a.zip |
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.
-rw-r--r-- | newapkbuild.in | 2 |
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" |