FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

link PerfTests against pthread when using gcc or clang · githubCode3a/Disruptor-cpp@53224e8 · GitHub

Commit 53224e8

Browse files
committed
link PerfTests against pthread when using gcc or clang
1 parent cdaa320 commit 53224e8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎Disruptor.PerfTests/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ set(DisruptorPerfTests_sources
5555
add_definitions(-DBOOST_TEST_DYN_LINK)
5656

5757
add_executable(Disruptor.PerfTests ${DisruptorPerfTests_sources})
58-
target_link_libraries(Disruptor.PerfTests DisruptorStatic Disruptor.TestTools ${Boost_LIBRARIES})
58+
target_link_libraries(Disruptor.PerfTests DisruptorStatic Disruptor.TestTools ${Boost_LIBRARIES} pthread)
5959

6060
add_custom_target(performance_test ${CMAKE_CURRENT_BINARY_DIR}/Disruptor.PerfTests)

‎Disruptor.Tests/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ set(DisruptorTests_sources
6060
include_directories("..")
6161

6262
add_executable(Disruptor.Tests ${DisruptorTests_sources})
63-
target_link_libraries(Disruptor.Tests DisruptorStatic Disruptor.TestTools ${Boost_LIBRARIES} gmock )
63+
target_link_libraries(Disruptor.Tests DisruptorStatic Disruptor.TestTools ${Boost_LIBRARIES} gmock)
6464

6565
add_test(cmake_Disruptor.Tests ${CMAKE_CURRENT_BINARY_DIR}/Disruptor.Tests --result_code=no --report_level=no)
6666

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL