Skip to content

Commit

Permalink
everestjs: Let CMake fail when node-addon-api is missing
Browse files Browse the repository at this point in the history
If node-addon-api can't be installed, let CMake fail. everestjs
has a hard dependency on this package.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
  • Loading branch information
dnltz committed Aug 14, 2024
1 parent dadfc93 commit a9d5f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion everestjs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if (NOT NODE_ADDON_API_PACKAGE_DIR)
)

if (NPM_INSTALL_NODE_ADDON_API_FAILED)
message(FATAL "Installation of node-addon-api failed")
message(FATAL_ERROR "Installation of node-addon-api failed")
endif ()
endif ()

Expand Down

0 comments on commit a9d5f89

Please sign in to comment.