mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 12:20:00 +01:00
Meta+LibCore: Stop linking against LibCrypt
This was only be used by "Account.cpp" which was removed in:
d8c36ed458
This commit is contained in:
parent
92f5183ced
commit
514233008b
|
|
@ -102,7 +102,7 @@ if (APPLE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
serenity_lib(LibCore core)
|
serenity_lib(LibCore core)
|
||||||
target_link_libraries(LibCore PRIVATE LibCrypt LibUnicode LibURL)
|
target_link_libraries(LibCore PRIVATE LibUnicode LibURL)
|
||||||
target_link_libraries(LibCore PUBLIC LibCoreMinimal)
|
target_link_libraries(LibCore PUBLIC LibCoreMinimal)
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
|
|
|
||||||
|
|
@ -319,13 +319,9 @@ add_lagom_library_install_rules(GenericClangPlugin)
|
||||||
add_lagom_library_install_rules(JSClangPlugin)
|
add_lagom_library_install_rules(JSClangPlugin)
|
||||||
|
|
||||||
# Create mostly empty targets for system libraries we don't need to build for Lagom
|
# Create mostly empty targets for system libraries we don't need to build for Lagom
|
||||||
add_library(LibCrypt INTERFACE)
|
|
||||||
if (NOT APPLE AND NOT ANDROID AND NOT EMSCRIPTEN AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" AND NOT HAIKU AND NOT WIN32)
|
|
||||||
target_link_libraries(LibCrypt INTERFACE crypt) # LibCore::Account uses crypt() but it's not in libcrypt on macOS
|
|
||||||
endif()
|
|
||||||
add_library(NoCoverage INTERFACE)
|
add_library(NoCoverage INTERFACE)
|
||||||
# "install" these special targets to placate CMake
|
# "install" these special targets to placate CMake
|
||||||
install(TARGETS LibCrypt NoCoverage EXPORT LagomTargets)
|
install(TARGETS NoCoverage EXPORT LagomTargets)
|
||||||
|
|
||||||
# AK
|
# AK
|
||||||
add_serenity_subdirectory(AK)
|
add_serenity_subdirectory(AK)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user