Private
Public Access
2
0

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:
Henry Bruce
2016-01-21 13:19:23 -08:00
committed by Brendan Le Foll
parent ba5318fee9
commit ff31d6763c
2 changed files with 53 additions and 9 deletions

View File

@@ -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}