Fixed an issue where rlottie was built as a shared library on Unix and macOS.

This commit is contained in:
Leon Styhre 2022-10-08 11:12:45 +02:00
parent c7a035127c
commit f7d72b4176

View file

@ -32,11 +32,12 @@ if(WIN32)
# Strip the DLL files when building with MinGW.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s")
endif()
if (WIN32)
set(BUILD_SHARED_LIBS ON)
else()
set(BUILD_SHARED_LIBS OFF)
endif()
endif()
if (WIN32)
set(BUILD_SHARED_LIBS ON)
else()
set(BUILD_SHARED_LIBS OFF)
endif()
# Disable threading support for rlottie as this functionality actually leads to far worse