cmake: use TARGETS instead of FILES for js module install
This strips the local RPATH when doing a `make install` rather than running from the build/ dir Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -120,5 +120,5 @@ if (BUILDDOC)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/mraa.node
|
||||
install (TARGETS ${SWIG_MODULE_mraajs_REAL_NAME}
|
||||
DESTINATION ${NODE_MODULE_INSTALL_PATH})
|
||||
|
||||
Reference in New Issue
Block a user