From a98dd83c870d22d02698a1a50806231cbf3dc6b1 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 3 Oct 2022 22:06:55 +0200 Subject: [PATCH] (Windows) Fixed an incorrect CMake build flag for rlottie. --- external/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index 178767589..446ed701f 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -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()