Skip to content
Snippets Groups Projects
Commit ab2ff158 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Set PREFER_POLL in CMake as well.

Not just for GMUmakefile anymore!
parent 29305817
No related branches found
No related tags found
No related merge requests found
...@@ -166,7 +166,7 @@ target_link_libraries(xpdev ${CMAKE_THREAD_LIBS_INIT}) ...@@ -166,7 +166,7 @@ target_link_libraries(xpdev ${CMAKE_THREAD_LIBS_INIT})
target_include_directories(xpdev PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) target_include_directories(xpdev PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
if(NOT WIN32) if(NOT WIN32)
target_compile_definitions(xpdev PUBLIC USE_XP_SEMAPHORES) target_compile_definitions(xpdev PUBLIC USE_XP_SEMAPHORES PREFER_POLL)
endif() endif()
target_compile_definitions(xpdev PUBLIC LINK_LIST_THREADSAFE) target_compile_definitions(xpdev PUBLIC LINK_LIST_THREADSAFE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment