mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 09:21:12 +03:00
cmake: Check for JAVA in top-level CMakeLists.txt
Moved require for Java/JNI/mraajava to top-level CMakeLists.txt which will fail early if these are NOT found (vs failing in the src-level CMakeLists.txt Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -221,9 +221,6 @@ endmacro(upm_swig_node)
|
||||
macro(upm_swig_java)
|
||||
# Skip if the libname is in the blacklist
|
||||
if (NOT ";${JAVASWIG_BLACKLIST};" MATCHES ";${libname};")
|
||||
FIND_PACKAGE (JNI REQUIRED)
|
||||
pkg_check_modules (MRAAJAVA REQUIRED mraajava>=0.8.0)
|
||||
|
||||
include_directories (
|
||||
${JAVA_INCLUDE_PATH}
|
||||
${JAVA_INCLUDE_PATH2}
|
||||
|
Reference in New Issue
Block a user