Private
Public Access
2
0

cmake: install python & node.js modules correctly

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-06-04 12:06:04 +01:00
parent b74541bf5a
commit 2c278acfcd
3 changed files with 15 additions and 0 deletions

View File

@@ -30,3 +30,7 @@ set_target_properties (maajs PROPERTIES
PREFIX ""
SUFFIX ".node"
)
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/package.json
${CMAKE_CURRENT_BINARY_DIR}/maajs.node
DESTINATION lib/node_modules/maajs)

View File

@@ -0,0 +1,2 @@
{ "name" : "maajs",
"main" : "./maajs.node" }