Skip to content

Commit

Permalink
Add options in node loader to avoid building bootstrap and trampoline…
Browse files Browse the repository at this point in the history
…, they are needed for building with guix which does not allow to invoke npm install.
  • Loading branch information
viferga committed Jan 18, 2020
1 parent eea95df commit 531eb1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/loaders/node_loader/bootstrap/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Check if this loader is enabled
if(NOT OPTION_BUILD_LOADERS OR NOT OPTION_BUILD_LOADERS_NODE)
if(NOT OPTION_BUILD_LOADERS OR NOT OPTION_BUILD_LOADERS_NODE OR DISABLE_BUILD_LOADERS_NODE_BOOTSTRAP)
return()
endif()

Expand Down
2 changes: 1 addition & 1 deletion source/loaders/node_loader/trampoline/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Check if this loader is enabled
if(NOT OPTION_BUILD_LOADERS OR NOT OPTION_BUILD_LOADERS_NODE)
if(NOT OPTION_BUILD_LOADERS OR NOT OPTION_BUILD_LOADERS_NODE OR DISABLE_BUILD_LOADERS_NODE_TRAMPOLINE)
return()
endif()

Expand Down

0 comments on commit 531eb1d

Please sign in to comment.