+#Create a ConfigVersion.cmake file
+include(CMakePackageConfigHelpers)
+write_basic_package_version_file(
+ ${CMAKE_CURRENT_BINARY_DIR}/lottie-playerConfigVersion.cmake
+ VERSION ${PROJECT_VERSION}
+ COMPATIBILITY AnyNewerVersion
+)
+
+configure_package_config_file(${CMAKE_CURRENT_LIST_DIR}/cmake/lottie-playerConfig.cmake.in
+ ${CMAKE_CURRENT_BINARY_DIR}/lottie-playerConfig.cmake
+ INSTALL_DESTINATION ${LIB_INSTALL_DIR}/cmake/lottie-player
+)
+
+#Install the config, configversion and custom find modules
+install(FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/lottie-playerConfig.cmake
+ ${CMAKE_CURRENT_BINARY_DIR}/lottie-playerConfigVersion.cmake
+ DESTINATION ${LIB_INSTALL_DIR}/cmake/lottie-player
+)
+
+
+export(EXPORT lottie-player-targets FILE ${CMAKE_CURRENT_BINARY_DIR}/lottie-playerTargets.cmake NAMESPACE lottie-player::)
+