Инициализация переменной CMAKE_ARGS
This commit is contained in:
parent
9217079b4a
commit
120458b69c
2
cmake.sh
2
cmake.sh
@ -89,7 +89,7 @@ while true; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
CMAKE_ARGS=()
|
CMAKE_ARGS=""
|
||||||
[ ${#@} -gt 0 ] && CMAKE_ARGS=("${@}")
|
[ ${#@} -gt 0 ] && CMAKE_ARGS=("${@}")
|
||||||
|
|
||||||
[ ! -f "${SOURCE_DIR}/CMakeLists.txt" ] && { echo "Source directory does not contain CMakeLists.txt"; exit 4; }
|
[ ! -f "${SOURCE_DIR}/CMakeLists.txt" ] && { echo "Source directory does not contain CMakeLists.txt"; exit 4; }
|
||||||
|
Loading…
Reference in New Issue
Block a user