Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
17 lines
546 B
CMake
17 lines
546 B
CMake
get_filename_component(rlottie_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
list(APPEND CMAKE_MODULE_PATH ${rlottie_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 rlottie::rlottie)
|
|
include("${rlottie_CMAKE_DIR}/rlottieTargets.cmake")
|
|
endif()
|
|
|
|
set(rlottie_LIBRARIES rlottie::rlottie)
|