2022-11-30 18:28:50 +00:00
|
|
|
|
|
|
|
set(PLATFORM_UNIT_TEST_FILES)
|
|
|
|
if(UNIX)
|
|
|
|
find_package(Freetype QUIET)
|
|
|
|
if(Freetype_FOUND)
|
|
|
|
set(PLATFORM_UNIT_TEST_FILES
|
|
|
|
fonts/TestFreeTypeFontEngine.cpp
|
|
|
|
)
|
|
|
|
endif()
|
2023-01-10 17:24:37 +00:00
|
|
|
else()
|
|
|
|
set(PLATFORM_UNIT_TEST_FILES
|
|
|
|
fonts/TestDirectWriteFontEngine.cpp
|
|
|
|
)
|
2022-11-30 18:28:50 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
set(FONTS_UNIT_TEST_FILES
|
|
|
|
fonts/TestFontReader.cpp
|
|
|
|
${PLATFORM_UNIT_TEST_FILES}
|
|
|
|
PARENT_SCOPE
|
|
|
|
)
|
|
|
|
|
|
|
|
set(FONTS_UNIT_TEST_DEPENDENCIES
|
|
|
|
fonts
|
|
|
|
PARENT_SCOPE
|
|
|
|
)
|