libmraa: don't set SWIG_DIR
authorEneas U de Queiroz <cote2004-github@yahoo.com>
Mon, 6 Aug 2018 13:39:01 +0000 (10:39 -0300)
committerEneas U de Queiroz <cote2004-github@yahoo.com>
Mon, 6 Aug 2018 13:47:19 +0000 (10:47 -0300)
commite7408d94c5167d1c5a3ccaf4df08c1b7ad008b46
tree49c3ff2b6dc045e353004906f82099f10d83eb3e
parentc72a47b80d2fc4a309272113a220f014fb03de76
libmraa: don't set SWIG_DIR

CMake 3.0.12 uses SWIG_DIR to set SWIG_LIB, is used as the library
install location, which defaults to
$(STAGING_HOSTPKG)/share/sig/(SWIGVERSION).  If it is set, then the
installed swig library directory is ignored, and compilation fails:
[ 32%] Swig source
:1: Error: Unable to find 'swig.swg'
:3: Error: Unable to find 'python.swg'

Instead of setting it manually, let the default be used, which works
well.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
libs/libmraa/Makefile