diff --git a/CMakeLists.txt b/CMakeLists.txt index e2c1a8f0..a4ab431e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -301,7 +301,7 @@ endif() #SOURCE SETS set_source_files_properties(${TL_TD_AUTO} PROPERTIES GENERATED TRUE) -if (TD_ENABLE_JNI) +if (TD_ENABLE_JNI OR ANDROID) set(TL_JNI_OBJECT td/tl/tl_jni_object.cpp td/tl/tl_jni_object.h