Skip to content

Commit 74721b2

Browse files
authored
Merge pull request #305 from igchor/fix_mt_bench_wind
Fix multithreaded bench compilation on windows
2 parents 3841b17 + 9ec0137 commit 74721b2

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)