mirror of
https://github.com/eclipse/upm.git
synced 2025-03-14 20:47:30 +03:00
swigjava: Added SWIGJAVA define to java module build
SWIGJAVA is defined for the swig interface file processing but is not defined for the sensor library source build. There are multiple sensors that appear to rely solely on SWIGJAVA - these are not building correctly. Adding SWIGJAVA define for the java module src build. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
parent
4342b880b9
commit
7a5c8a6cb3
@ -310,7 +310,7 @@ macro(upm_swig_java)
|
||||
${DEPEND_DIRS}
|
||||
)
|
||||
set_target_properties (javaupm_${libname} PROPERTIES
|
||||
COMPILE_FLAGS "-fpermissive -DJAVACALLBACK"
|
||||
COMPILE_FLAGS "-fpermissive -DJAVACALLBACK -DSWIGJAVA"
|
||||
PREFIX "lib"
|
||||
SUFFIX ".so"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user