node-cmake icon indicating copy to clipboard operation
node-cmake copied to clipboard

BUILDING_NODE_EXTENSION missing

Open computerquip-streamlabs opened this issue 7 years ago • 1 comments

Because apparently, node requires this be defined on a target in order to properly provide linkage to a node module.

computerquip-streamlabs avatar Sep 01 '18 22:09 computerquip-streamlabs

Sorry for the slow progress on this, I've been busy. You can manually add this by calling target_compile_definitions(<MODULE_TARGET_NAME> PRIVATE BUILDING_NODE_EXTENSION=1). I'll make sure this is in the next release.

cjntaylor avatar Nov 02 '18 05:11 cjntaylor