Windows fonts work
This commit is contained in:
parent
c24361f026
commit
bdf3675a4c
7 changed files with 357 additions and 3 deletions
|
|
@ -130,7 +130,9 @@ if((NOT EMSCRIPTEN) AND (GRAPHICS_BACKEND STREQUAL "Vulkan"))
|
|||
endif()
|
||||
|
||||
if(WIN32)
|
||||
list(APPEND sources "windowsinstall/app.rc")
|
||||
list(APPEND sources
|
||||
"src/WindowsFontData/CustomFontSetManager.cpp"
|
||||
"windowsinstall/app.rc")
|
||||
endif()
|
||||
|
||||
# Get libraries
|
||||
|
|
@ -289,6 +291,10 @@ endif()
|
|||
|
||||
target_link_libraries(infinipaint zstd::libzstd_static)
|
||||
|
||||
if((NOT EMSCRIPTEN) AND WIN32)
|
||||
target_link_libraries(infinipaint dwrite)
|
||||
endif()
|
||||
|
||||
if(EMSCRIPTEN)
|
||||
add_subdirectory(deps/datachannel-wasm EXCLUDE_FROM_ALL)
|
||||
target_link_libraries(infinipaint datachannel-wasm)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue