Skip to content

Commit 9ec0137

Browse files
committed
Fix multithreaded bench compilation on windows
1 parent 3841b17 commit 9ec0137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ if (UMF_BUILD_BENCHMARKS_MT)
4343
target_link_libraries(multithread_bench
4444
umf
4545
${LIBS_OPTIONAL}
46-
pthread
46+
${CMAKE_THREAD_LIBS_INIT}
4747
${LIBS_LINUX})
4848
target_include_directories(multithread_bench PRIVATE ${UMF_CMAKE_SOURCE_DIR}/include/)
4949
endif()

0 commit comments

Comments
 (0)