hwxpxx: remove extraneous libraries from swig_link_libraries() calls

Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Jon Trulson 2016-04-29 15:47:13 -06:00 committed by Noel Eck
parent 12e1e6309e
commit 6b0a9c5272

View File

@ -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 ()