Skip to content

Commit

Permalink
Solve issue with mac and npm.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed May 23, 2024
1 parent e3a6bab commit 39f7016
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/metacall-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,9 @@ sub_nodejs(){
echo "-DNodeJS_EXECUTABLE=$NODE_PREFIX/bin/node" >> $CMAKE_CONFIG_PATH
# echo "-DNodeJS_INCLUDE_DIR=$NODE_PREFIX/include/node" >> $CMAKE_CONFIG_PATH
# echo "-DNodeJS_LIBRARY=$NODE_PREFIX/lib/libnode.93.dylib" >> $CMAKE_CONFIG_PATH

# Configure NPM path
echo "-DNPM_ROOT=$NODE_PREFIX/bin" >> $CMAKE_CONFIG_PATH
fi
}

Expand Down

0 comments on commit 39f7016

Please sign in to comment.