mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-29 13:03:37 +01:00
fxsdk: do not build if CMake fails
This commit is contained in:
parent
51e60fcf06
commit
8eed69b7a0
1 changed files with 3 additions and 0 deletions
|
@ -173,6 +173,9 @@ fxsdk_build_in() {
|
||||||
-DCMAKE_TOOLCHAIN_FILE="$PREFIX/lib/cmake/fxsdk/$toolchain.cmake" \
|
-DCMAKE_TOOLCHAIN_FILE="$PREFIX/lib/cmake/fxsdk/$toolchain.cmake" \
|
||||||
-DFXSDK_CMAKE_MODULE_PATH="$PREFIX/lib/cmake/fxsdk" \
|
-DFXSDK_CMAKE_MODULE_PATH="$PREFIX/lib/cmake/fxsdk" \
|
||||||
"${cmake_extra_args[@]}"
|
"${cmake_extra_args[@]}"
|
||||||
|
if [[ $? != 0 ]]; then
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ -z "$configure" ]]; then
|
if [[ -z "$configure" ]]; then
|
||||||
make --no-print-directory -C "build-$platform" "${make_extra_args[@]}"
|
make --no-print-directory -C "build-$platform" "${make_extra_args[@]}"
|
||||||
|
|
Loading…
Reference in a new issue