mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-01 08:45:48 +00:00
lottie: add pc file for lottie player
Change-Id: Ic44b84b756b0ae7939a016cddd1e51eec7d3a3bc
This commit is contained in:
@@ -29,6 +29,9 @@ target_link_libraries(lottie-player
|
||||
add_subdirectory(inc)
|
||||
add_subdirectory(src)
|
||||
|
||||
CONFIGURE_FILE(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION lib/pkgconfig)
|
||||
|
||||
#install header
|
||||
install(FILES inc/lottieplayer.h DESTINATION include)
|
||||
|
||||
@@ -48,4 +51,4 @@ install( EXPORT lottie-player-targets
|
||||
|
||||
|
||||
#Register package in user's package registry
|
||||
export(PACKAGE lottie-player)
|
||||
export(PACKAGE lottie-player)
|
||||
|
||||
11
lottie-player.pc.in
Normal file
11
lottie-player.pc.in
Normal file
@@ -0,0 +1,11 @@
|
||||
prefix=@PREFIX@
|
||||
exec_prefix=@EXEC_DIR@
|
||||
libdir=@LIBDIR@
|
||||
includedir=@INCDIR@
|
||||
|
||||
Name: lottie-player
|
||||
Description: A lottie-player library
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Libs: -L${libdir} -llottie-player
|
||||
Cflags: -I${includedir}
|
||||
Reference in New Issue
Block a user