Minor bug in Node Port installation.
@@ -138,6 +138,11 @@ set_target_properties(${target}
# Include directories
#
+execute_process(
+ COMMAND npm install
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
execute_process(
COMMAND node -p "require('node-addon-api').include"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
