mirror of https://github.com/bjornbytes/lovr.git
Fix freetype library setting;
This commit is contained in:
parent
8110fe10e9
commit
7241d1c5f7
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue