fix build break by 0f5edac6d1

and packaging it properly.

Change-Id: Ib1216034d63beb809fdd652542980e61494e1e91
This commit is contained in:
Hermet Park
2018-09-07 15:08:11 +09:00
parent 0f5edac6d1
commit eb9e2cd378
5 changed files with 17 additions and 5 deletions

View File

@@ -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_

View File

@@ -1,3 +1,3 @@
install_headers(['lottieanimation.h',
'lotcommon.h',
'lottiecommon.h',
'lottieanimation_capi.h'])

View File

@@ -1,4 +1,6 @@
add_subdirectory(vector)
add_subdirectory(lottie)
add_subdirectory(lottie)
add_subdirectory(binding)

View File

@@ -0,0 +1 @@
add_subdirectory(c)

View 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}"
)