diff --git a/src/hwxpxx/CMakeLists.txt b/src/hwxpxx/CMakeLists.txt index a344022c..59798738 100644 --- a/src/hwxpxx/CMakeLists.txt +++ b/src/hwxpxx/CMakeLists.txt @@ -11,10 +11,10 @@ if (MODBUS_FOUND) target_link_libraries(${libname} ${MODBUS_LIBRARIES}) if (BUILDSWIG) if (BUILDSWIGNODE) - swig_link_libraries (jsupm_${libname} ${MODBUS_LIBRARIES} ${MRAA_LIBRARIES} ${NODE_LIBRARIES}) + swig_link_libraries (jsupm_${libname} ${MODBUS_LIBRARIES}) endif() if (BUILDSWIGPYTHON) - swig_link_libraries (pyupm_${libname} ${MODBUS_LIBRARIES} ${PYTHON_LIBRARIES} ${MRAA_LIBRARIES}) + swig_link_libraries (pyupm_${libname} ${MODBUS_LIBRARIES}) endif() endif() endif ()