Private
Public Access
2
0

swig/python: rename python-mraa.i to mraa.i

Seemed to be a problem when generating python swig module when using
cmake version 3.2.1

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2015-03-23 17:07:54 +00:00
parent ffcf3d7d07
commit 2388fb9a2a
2 changed files with 3 additions and 3 deletions

View File

@@ -14,9 +14,9 @@ include_directories(
${PYTHON_INCLUDE_DIRS}
)
set_source_files_properties (python-mraa.i PROPERTIES CPLUSPLUS ON)
set_source_files_properties (python-mraa.i PROPERTIES SWIG_FLAGS "-I${CMAKE_BINARY_DIR}/src")
swig_add_module (python-mraa python python-mraa.i ${mraa_LIB_SRCS})
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})
if (DOXYGEN_FOUND)