cmake: add path to help find nodejs
Helps locate node-v0.12.4 built from source on Fedora 22 Signed-off-by: Justin Brown <justin.m.brown@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
ea31104db0
commit
22ace9c642
@@ -8,7 +8,7 @@ find_program (NODE_EXECUTABLE NAMES node
|
|||||||
include (FindPackageHandleStandardArgs)
|
include (FindPackageHandleStandardArgs)
|
||||||
|
|
||||||
find_path (NODE_ROOT_DIR "node/node.h" "src/node.h"
|
find_path (NODE_ROOT_DIR "node/node.h" "src/node.h"
|
||||||
PATHS /usr/include/nodejs /usr/local/include/nodejs)
|
PATHS /usr/include/nodejs /usr/local/include/nodejs /usr/local/include)
|
||||||
|
|
||||||
set (NODE_INCLUDE_DIRS
|
set (NODE_INCLUDE_DIRS
|
||||||
${NODE_ROOT_DIR}/src
|
${NODE_ROOT_DIR}/src
|
||||||
|
|||||||
Reference in New Issue
Block a user