diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2022-12-30 14:12:51 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2022-12-30 14:12:51 -0500 |
commit | 7e78a2ae9e7679b019f4bb590e3594396892cebc (patch) | |
tree | 66b687d3625cbd896da638cad15a67e93bbbe93e | |
parent | b26045e94715b0d5813d0ba8d4125a49a4a5317b (diff) | |
download | lite-xl-plugin-manager-7e78a2ae9e7679b019f4bb590e3594396892cebc.tar.gz lite-xl-plugin-manager-7e78a2ae9e7679b019f4bb590e3594396892cebc.zip |
Fixed cmake warning.
-rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ CFLAGS="$CFLAGS -Ilib/prefix/include" LDFLAGS="$LDFLAGS -lm -Llib/prefix/lib" [[ "$@" == "clean" ]] && rm -rf lib/libgit2/build lib/zlib/build lib/libzip/build lib/mbedtls-2.27.0/build lib/prefix lua $BIN *.exe src/lpm.luac src/lpm.lua.c && exit 0 -cmake --version >/dev/null && [[ "$?" != 0 ]] && echo "Please ensure that you have cmake installed." && exit -1 +cmake --version >/dev/null 2>/dev/null || { echo "Please ensure that you have cmake installed." && exit -1; } # Build supporting libraries, libz, libmbedtls, libmbedcrypto, libgit2, libzip, libmicrotar, liblua CMAKE_DEFAULT_FLAGS=" $CMAKE_DEFAULT_FLAGS -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=`pwd`/lib/prefix -DCMAKE_INSTALL_PREFIX=`pwd`/lib/prefix -DBUILD_SHARED_LIBS=OFF" |