Fix freetype library setting;
@@ -45,9 +45,10 @@ endif()
if (EMSCRIPTEN)
add_definitions(-s USE_FREETYPE=1)
elseif (WIN32)
- set(BUILD_SHARED_LIBS OFF)
set(FREETYPE_NO_DIST TRUE CACHE BOOL "")
+ set(BUILD_SHARED_LIBS OFF)
add_subdirectory(deps/freetype freetype)
+ set(BUILD_SHARED_LIBS ON)
include_directories(deps/freetype/include)
set(LOVR_FREETYPE freetype)
else()
