@cryptotaxi247 / netdata-1 / commits / b7bf0721f

Bail early on LWS build if cmake is not presen. (#8559)

Austin S. Hemmelgarn committed Mar 31, 2020 at 15:58 UTC b7bf0721fbbea9961476458381d6d04760013e1a
1 file changed +6
netdata-installer.sh
+6
@@ -536,6 +536,12 @@ bundle_libwebsockets() {
536 return 0
537 fi
538
539 + if [ -z "$(command -v cmake)" ] ; then
540 + run_failed "Could not find cmake, which is required to build libwebsockets. The install process will continue, but you may not be able to connect this node to Netdata Cloud."
541 + defer_error_highlighted "Could not find cmake, which is required to build libwebsockets. The install process will continue, but you may not be able to connect this node to Netdata Cloud."
542 + return 0
543 + fi
544 +
545 progress "Prepare libwebsockets"
546
547 LIBWEBSOCKETS_PACKAGE_VERSION="$(cat packaging/libwebsockets.version)"