LibGC: Port to Windows

This commit is contained in:
stasoid 2024-12-14 15:10:10 +05:00 committed by Jelle Raaijmakers
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()