ozw: 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:52:40 -06:00 committed by Noel Eck
parent 411b4abcb7
commit 8df446958a

View File

@ -11,10 +11,10 @@ if (OPENZWAVE_FOUND)
target_link_libraries(${libname} ${OPENZWAVE_LIBRARIES})
if (BUILDSWIG)
if (BUILDSWIGNODE)
swig_link_libraries (jsupm_${libname} ${OPENZWAVE_LIBRARIES} ${MRAA_LIBRARIES} ${NODE_LIBRARIES})
swig_link_libraries (jsupm_${libname} ${OPENZWAVE_LIBRARIES})
endif()
if (BUILDSWIGPYTHON)
swig_link_libraries (pyupm_${libname} ${OPENZWAVE_LIBRARIES} ${PYTHON_LIBRARIES} ${MRAA_LIBRARIES})
swig_link_libraries (pyupm_${libname} ${OPENZWAVE_LIBRARIES})
endif()
endif()
endif ()