mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-08 20:32:56 +03:00
ce2f1b845f
Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
15 lines
269 B
CMake
15 lines
269 B
CMake
set(SOURCES
|
|
RegexByteCode.cpp
|
|
RegexLexer.cpp
|
|
RegexMatcher.cpp
|
|
RegexOptimizer.cpp
|
|
RegexParser.cpp
|
|
)
|
|
|
|
if(SERENITYOS)
|
|
list(APPEND SOURCES C/Regex.cpp)
|
|
endif()
|
|
|
|
serenity_lib(LibRegex regex)
|
|
target_link_libraries(LibRegex PRIVATE LibCore LibUnicode)
|