File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
depends/android/libandroidjni Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ include_directories(${INCLUDES}
6363 ${KODI_INCLUDE_DIR} /.. # Hack way with "/..", need bigger Kodi cmake rework to match right include ways (becomes done in future)
6464 ${NLOHMANNJSON_INCLUDE_DIRS}
6565 ${LIBANDROIDJNI_INCLUDE_DIRS}
66+ $<$<STREQUAL :${CORE_SYSTEM_NAME} ,android >:${LIBANDROIDJNI_INCLUDE_DIRS} >
6667 src/
6768)
6869
@@ -79,9 +80,12 @@ list(APPEND DEPLIBS ${PUGIXML_LIBRARIES}
7980 ${BENTO4_LIBRARIES}
8081 mpegts
8182 webm_parser
82- ${LIBANDROIDJNI_LIBRARIES}
8383)
8484
85+ if (CORE_SYSTEM_NAME STREQUAL android )
86+ list (APPEND DEPLIBS ${LIBANDROIDJNI_LIBRARIES} )
87+ endif ()
88+
8589# Add additional dependencies
8690get_property (DEPS_FOLDERS_LIST GLOBAL PROPERTY GlobalDepsFoldersList )
8791foreach (DEP_FOLDER ${DEPS_FOLDERS_LIST} )
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ find_path(LIBANDROIDJNI_INCLUDE_DIRS include/androidjni)
99find_library (LIBANDROIDJNI_LIBRARIES androidjni )
1010
1111include (FindPackageHandleStandardArgs )
12- find_package_handle_standard_args (androidjni REQUIRED_VARS LIBANDROIDJNI_INCLUDE_DIRS LIBANDROIDJNI_LIBRARIES)
12+ find_package_handle_standard_args (LibAndroidJNI REQUIRED_VARS LIBANDROIDJNI_INCLUDE_DIRS LIBANDROIDJNI_LIBRARIES)
1313
1414mark_as_advanced (LIBANDROIDJNI_INCLUDE_DIRS LIBANDROIDJNI_LIBRARIES )
Original file line number Diff line number Diff line change 1- fb7db4a7a1d56199c1ddea7178d46bf5b55f3af4ab23f19ef54bb10e03067043
1+ 18b43677838865ecf9bd331bbbe81541d36784d720b72445f9e2230addd83a80
Original file line number Diff line number Diff line change 1- libandroidjni https://github.com/CastagnaIT/libandroidjni/archive/22a3e0ecdc1336a55440fe37285bc337d6c4566e .tar.gz
1+ libandroidjni https://github.com/CastagnaIT/libandroidjni/archive/993a880aa562d7c331c09ea827c029f75d2480b3 .tar.gz
You can’t perform that action at this time.
0 commit comments