mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 09:21:12 +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:
@ -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"
|
||||
)
|
||||
|
Reference in New Issue
Block a user