Skip to content

Commit

Permalink
LibGC: Port to Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
stasoid authored and gmta committed Dec 17, 2024
1 parent 969fb1a commit 27a654c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Libraries/LibGC/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 27a654c

Please sign in to comment.