nodejs: cmake updates to more thoroughly check Node.js configuration
Signed-off-by: Henry Bruce <henry.bruce@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
ba5318fee9
commit
ff31d6763c
@@ -1,4 +1,7 @@
|
||||
find_package (Nodejs)
|
||||
find_package (Nodejs REQUIRED)
|
||||
if (NOT Nodejs_FOUND)
|
||||
message(ERROR " - Nodejs not found")
|
||||
endif()
|
||||
|
||||
include_directories (
|
||||
${NODE_INCLUDE_DIRS}
|
||||
|
||||
Reference in New Issue
Block a user