fixed grunt-cmake

This commit is contained in:
antelle 2021-04-13 22:55:38 +02:00
parent 102da5cba1
commit 5cc146481b
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 1 additions and 1 deletions

View File

@ -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}`);
}