romgrk / node-gtk

GTK+ bindings for NodeJS (via GObject introspection)
MIT License
494 stars 41 forks source link

binding.gyp: ensure cflags from pkg-config is properly expanded as list #309

Closed ishitatsuyuki closed 2 years ago

ishitatsuyuki commented 3 years ago

The flags from pkg-config got quoted together in compile_commands.json with the previous config, and CLion failed to recognize include directory specified in such ways. A slight modification to the gyp file seems to fix this.

romgrk commented 2 years ago

Cool, thanks :)