mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
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)
|