(Windows) Fixed an incorrect CMake build flag for rlottie.

This commit is contained in:
Leon Styhre 2022-10-03 22:06:55 +02:00
parent 1dbfa3f82f
commit a98dd83c87

View file

@ -26,7 +26,9 @@ unset(CMAKE_EXE_LINKER_FLAGS)
add_subdirectory(lunasvg)
# On Windows, rlottie is built as a DLL file.
if(NOT WIN32)
if (WIN32)
set(BUILD_SHARED_LIBS ON)
else()
set(BUILD_SHARED_LIBS OFF)
endif()