mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix check for cmake commands on POSIX shells
This commit is contained in:
parent
2885f3ead4
commit
e380a12a8b
1 changed files with 2 additions and 2 deletions
4
configure
vendored
4
configure
vendored
|
@ -335,9 +335,9 @@ done
|
|||
|
||||
if [ -z "$CMakeCommand" ]; then
|
||||
# prefer cmake3 over "regular" cmake (cmake == cmake2 on RHEL)
|
||||
if type cmake3 &> /dev/null ; then
|
||||
if command -v cmake3 >/dev/null 2>&1 ; then
|
||||
CMakeCommand="cmake3"
|
||||
elif type cmake &> /dev/null ; then
|
||||
elif command -v cmake >/dev/null 2>&1 ; then
|
||||
CMakeCommand="cmake"
|
||||
else
|
||||
echo "This package requires CMake, please install it first."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue