projects
/
contrib
/
mraa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2448796
)
Add options for nodejs include directory
author
yoneken
<yoneken@ieee.org>
Tue, 10 Feb 2015 18:41:29 +0000
(
03:41
+0900)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Sun, 15 Feb 2015 21:15:24 +0000
(21:15 +0000)
Signed-off-by: Kenta Yonekura <yoneken@ieee.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/javascript/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/javascript/CMakeLists.txt
b/src/javascript/CMakeLists.txt
index
61923ad
..
af5707b
100644
(file)
--- a/
src/javascript/CMakeLists.txt
+++ b/
src/javascript/CMakeLists.txt
@@
-1,4
+1,5
@@
-find_path (NODE_ROOT_DIR "node/node.h")
+find_path (NODE_ROOT_DIR "node/node.h" "src/node.h"
+ PATHS /usr/include/nodejs /usr/local/include/nodejs)
set (NODE_INCLUDE_DIRS
${NODE_ROOT_DIR}/src