Skip to content

Commit

Permalink
~ Including the pixman-cpp-standard.cpp when building for OSX arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
gindemit committed Aug 27, 2023
1 parent d278a21 commit 5fbef2e
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 @@ -37,7 +37,7 @@ else()
add_library (LottiePlugin SHARED ${RLOTTIE_PLUGIN_LIBRARY_SOURCES})
endif()

if (RLOTTIE_IOS OR ANDROID)
if (RLOTTIE_IOS OR ANDROID OR (RLOTTIE_OSX AND CMAKE_OSX_ARCHITECTURES STREQUAL "arm64"))
message("Compile cpp source for iOS or Android")
target_sources(rlottie PRIVATE ${PIXMAN_ROOT}/pixman-cpp-standard.cpp)
endif()
Expand Down

0 comments on commit 5fbef2e

Please sign in to comment.