Skip to content

Commit

Permalink
Added set(LOTTIE_MODULE OFF) to CMake file
Browse files Browse the repository at this point in the history
  • Loading branch information
gindemit committed Jul 13, 2023
1 parent 42b0cd6 commit 5e788f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/CMake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ cmake_minimum_required (VERSION 3.6)
project(LottiePlugin)

set(BUILD_SHARED_LIBS FALSE)
set(LOTTIE_MODULE OFF)
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)

set (RLOTTIE_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../dependency/rlottie)
set (PIXMAN_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../dependency/pixman)

if (RLOTTIE_IOS)
set(CMAKE_XCODE_ATTRIBUTE_ENABLE_BITCODE NO)
set(BUILD_SHARED_LIBS OFF)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/LottiePluginBuild)
elseif (RLOTTIE_OSX)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/LottiePluginBuild)
Expand Down

0 comments on commit 5e788f9

Please sign in to comment.