cmake: add ${mraa_LIBS} to linker for swig libraries
This means that the correct libraries are added when mraa_LIBS is appended, fixes ft4222 handling with SWIG APIs Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -10,7 +10,7 @@ include_directories(
|
||||
set_source_files_properties (mraa.i PROPERTIES CPLUSPLUS ON)
|
||||
set_source_files_properties (mraa.i PROPERTIES SWIG_FLAGS "-I${CMAKE_BINARY_DIR}/src")
|
||||
swig_add_module (python-mraa python mraa.i ${mraa_LIB_SRCS})
|
||||
swig_link_libraries (python-mraa ${PYTHON_LIBRARIES})
|
||||
swig_link_libraries (python-mraa ${PYTHON_LIBRARIES} ${mraa_LIBS})
|
||||
|
||||
if (DOXYGEN_FOUND)
|
||||
foreach (_file ${DOCCLASSES})
|
||||
|
||||
Reference in New Issue
Block a user