ladybird/Tests/LibUnicode/CMakeLists.txt
Timothy Flynn ffb3ba3079 Tests: Link some tests directly against LibUnicodeData
These were missed in 565a880ce5.

This wasn't an issue because these tests don't pledge/unveil anything,
so they could happily dlopen() the library at runtime. But this is now
needed in order to migrate LibUnicode towards weak symbols instead.
2022-01-04 22:49:43 +00:00

12 lines
286 B
CMake

set(TEST_SOURCES
TestUnicodeCharacterTypes.cpp
TestUnicodeLocale.cpp
)
foreach(source IN LISTS TEST_SOURCES)
serenity_test("${source}" LibUnicode LIBS LibUnicode)
get_filename_component(target "${source}" NAME_WLE)
link_with_unicode_data("${target}")
endforeach()