Skip to content

Commit

Permalink
~ Set the LOTTIE_MODULE to off to compile the stb_image implementatio…
Browse files Browse the repository at this point in the history
…n together with the LottiePlugin.dll, not as separated dynamic library that is not supported on some platforms.
  • Loading branch information
gindemit committed Nov 26, 2023
1 parent 59f4b20 commit 74516b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions projects/CMake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
set (RLOTTIE_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../dependency/rlottie)
set (PIXMAN_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../dependency/pixman)

# Disable the LOTTIE_MODULE in rlottie
set(LOTTIE_MODULE OFF CACHE BOOL "Disable LOTTIE MODULE SUPPORT" FORCE)

if (RLOTTIE_IOS)
set(CMAKE_XCODE_ATTRIBUTE_ENABLE_BITCODE NO)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/LottiePluginBuild)
Expand Down

0 comments on commit 74516b0

Please sign in to comment.