1 get_filename_component(lottie-player_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
2 include(CMakeFindDependencyMacro)
4 list(APPEND CMAKE_MODULE_PATH ${lottie-player_CMAKE_DIR})
6 # NOTE Had to use find_package because find_dependency does not support COMPONENTS or MODULE until 3.8.0
8 #find_dependency(RapidJSON 1.0 REQUIRED MODULE)
9 #find_package(Boost 1.55 REQUIRED COMPONENTS regex)
10 list(REMOVE_AT CMAKE_MODULE_PATH -1)
12 if(NOT TARGET lottie-player::lottie-player)
13 include("${lottie-player_CMAKE_DIR}/lottie-playerTargets.cmake")
16 set(lottie-player_LIBRARIES lottie-player::lottie-player)