mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 06:43:21 +08:00
move cmake version check into cmake
This commit is contained in:
committed by
Lorenz Meier
parent
9ea80e9ff0
commit
ac7c309925
@@ -1,14 +0,0 @@
|
||||
#!/bin/bash
|
||||
cmake_ver=`cmake --version`
|
||||
|
||||
if [[ $cmake_ver == "" ]]
|
||||
then
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
if [[ $cmake_ver == *" 2.8"* ]] || [[ $cmake_ver == *" 2.9"* ]] || [[ $cmake_ver == *" 3.0"* ]] || [[ $cmake_ver == *" 3.1"* ]]
|
||||
then
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
exit 0;
|
||||
Reference in New Issue
Block a user