mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-01 08:45:48 +00:00
fix build break by 0f5edac6d1
and packaging it properly. Change-Id: Ib1216034d63beb809fdd652542980e61494e1e91
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef _LOTPLAYER_CAPI_H_
|
||||
#define _LOTPLAYER_CAPI_H_
|
||||
#ifndef _LOTTIE_ANIMATION_CAPI_H_
|
||||
#define _LOTTIE_ANIMATION_CAPI_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
@@ -69,5 +69,5 @@ lottie_animation_render_flush(Lottie_Animation *animation);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif //_LOTPLAYER_CAPI_H_
|
||||
#endif //_LOTTIE_ANIMATION_CAPI_H_
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
install_headers(['lottieanimation.h',
|
||||
'lotcommon.h',
|
||||
'lottiecommon.h',
|
||||
'lottieanimation_capi.h'])
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
|
||||
add_subdirectory(vector)
|
||||
|
||||
add_subdirectory(lottie)
|
||||
add_subdirectory(lottie)
|
||||
|
||||
add_subdirectory(binding)
|
||||
|
||||
1
src/binding/CMakeLists.txt
Normal file
1
src/binding/CMakeLists.txt
Normal file
@@ -0,0 +1 @@
|
||||
add_subdirectory(c)
|
||||
9
src/binding/c/CMakeLists.txt
Normal file
9
src/binding/c/CMakeLists.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
target_sources(lottie-player
|
||||
PRIVATE
|
||||
"${CMAKE_CURRENT_LIST_DIR}/lottieanimation_c.cpp"
|
||||
)
|
||||
|
||||
target_include_directories(lottie-player
|
||||
PRIVATE
|
||||
"${CMAKE_CURRENT_LIST_DIR}"
|
||||
)
|
||||
Reference in New Issue
Block a user