Meta: Make pthread and mman available for all libraries on Windows

by default
This commit is contained in:
stasoid 2024-12-18 06:36:28 +05:00 committed by Ali Mohammad Pur
commit 15a96e841b
Notes: github-actions[bot] 2024-12-18 04:56:50 +00:00
6 changed files with 10 additions and 28 deletions

View file

@ -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()