Disable AWT in JNI
This commit is contained in:
parent
68bd45da52
commit
15b956f94c
@ -926,7 +926,7 @@ target_link_libraries(tdapi PRIVATE tdutils)
|
||||
|
||||
if (TD_ENABLE_JNI AND NOT ANDROID) # jni is available by default on Android
|
||||
if (NOT JNI_FOUND)
|
||||
find_package(JNI REQUIRED)
|
||||
find_package(JNI REQUIRED COMPONENTS JVM)
|
||||
endif()
|
||||
message(STATUS "Found JNI: ${JNI_INCLUDE_DIRS} ${JNI_LIBRARIES}")
|
||||
target_include_directories(tdapi PUBLIC ${JAVA_INCLUDE_PATH} ${JAVA_INCLUDE_PATH2})
|
||||
|
Loading…
Reference in New Issue
Block a user