From 5cc146481bf26515163f7743292b16454a9d7408 Mon Sep 17 00:00:00 2001 From: antelle Date: Tue, 13 Apr 2021 22:55:38 +0200 Subject: [PATCH] fixed grunt-cmake --- build/tasks/grunt-cmake.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tasks/grunt-cmake.js b/build/tasks/grunt-cmake.js index 8d20c7bb..579ddf66 100644 --- a/build/tasks/grunt-cmake.js +++ b/build/tasks/grunt-cmake.js @@ -16,7 +16,7 @@ module.exports = function (grunt) { } try { - await spawnCmake(['-B', 'build', '.', ...opt.cmakeConfigure], src); + await spawnCmake(['-B', 'build', '.', ...(opt.cmakeConfigure || [])], src); } catch (e) { grunt.warn(`Configure error: ${e}`); }