mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 02:59:45 +00:00
Meta: Make pthread and mman available for all libraries on Windows
by default
This commit is contained in:
parent
6fd7b9b6b9
commit
15a96e841b
Notes:
github-actions[bot]
2024-12-18 04:56:50 +00:00
Author: https://github.com/stasoid
Commit: 15a96e841b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2958
6 changed files with 10 additions and 28 deletions
|
@ -7,7 +7,5 @@ serenity_lib(LibThreading threading)
|
|||
target_link_libraries(LibThreading PRIVATE LibCore)
|
||||
|
||||
if (WIN32)
|
||||
find_package(pthread REQUIRED)
|
||||
target_include_directories(LibThreading PRIVATE ${PTHREAD_INCLUDE_DIR})
|
||||
target_link_libraries(LibThreading PUBLIC ${PTHREAD_LIBRARY})
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue