mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-07 16:11:13 +00:00
17 lines
600 B
CMake
17 lines
600 B
CMake
get_filename_component(lottie-player_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
list(APPEND CMAKE_MODULE_PATH ${lottie-player_CMAKE_DIR})
|
|
|
|
# NOTE Had to use find_package because find_dependency does not support COMPONENTS or MODULE until 3.8.0
|
|
|
|
#find_dependency(RapidJSON 1.0 REQUIRED MODULE)
|
|
#find_package(Boost 1.55 REQUIRED COMPONENTS regex)
|
|
list(REMOVE_AT CMAKE_MODULE_PATH -1)
|
|
|
|
if(NOT TARGET lottie-player::lottie-player)
|
|
include("${lottie-player_CMAKE_DIR}/lottie-playerTargets.cmake")
|
|
endif()
|
|
|
|
set(lottie-player_LIBRARIES lottie-player::lottie-player)
|