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:
ea31104
)
cmake: add path to help find nodejs
author
Justin Brown
<justin.m.brown@intel.com>
Mon, 22 Jun 2015 20:21:15 +0000
(13:21 -0700)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Tue, 23 Jun 2015 10:10:04 +0000
(11:10 +0100)
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>
cmake/modules/FindNodejs.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/FindNodejs.cmake
b/cmake/modules/FindNodejs.cmake
index
cac8943
..
5f333b2
100644
(file)
--- a/
cmake/modules/FindNodejs.cmake
+++ b/
cmake/modules/FindNodejs.cmake
@@
-8,7
+8,7
@@
find_program (NODE_EXECUTABLE NAMES node
include (FindPackageHandleStandardArgs)
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
${NODE_ROOT_DIR}/src