Skip to content

Commit 53224e8

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

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy