Skip to content

Commit

Permalink
swig/python: rename python-mraa.i to mraa.i
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Ingleby committed Mar 23, 2015
1 parent ffcf3d7 commit 2388fb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/python/CMakeLists.txt
Expand Up @@ -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)
Expand Down
File renamed without changes.

0 comments on commit 2388fb9

Please sign in to comment.