Change-Id: Ic44b84b756b0ae7939a016cddd1e51eec7d3a3bc
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)
#Register package in user's package registry
-export(PACKAGE lottie-player)
\ No newline at end of file
+export(PACKAGE lottie-player)
--- /dev/null
+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}