1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09:00

LibGC: Port to Windows

This commit is contained in:
stasoid 2024-12-14 15:10:10 +05:00 committed by Jelle Raaijmakers
parent 969fb1a3a8
commit 27a654c739
Notes: github-actions[bot] 2024-12-17 11:15:33 +00:00

View file

@ -22,3 +22,9 @@ if (ENABLE_SWIFT)
target_link_libraries(LibGC PRIVATE AK)
add_swift_target_properties(LibGC LAGOM_LIBRARIES AK)
endif()
if (WIN32)
find_package(mman REQUIRED)
target_include_directories(LibGC PRIVATE ${MMAN_INCLUDE_DIR})
target_link_libraries(LibGC PRIVATE ${MMAN_LIBRARY})
endif()