Skip to content

Commit ce1ee47

Browse files
committed
compilation on archlinux
1 parent bec52dd commit ce1ee47

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ include (CTest)
88
enable_testing()
99

1010
add_definitions(-DBOOST_ERROR_CODE_HEADER_ONLY)
11+
add_definitions(-DBOOST_COROUTINES_NO_DEPRECATION_WARNING)
1112
#add_definitions(-DBREDIS_DEBUG)
1213

1314
find_package(

examples/CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
find_package(Threads REQUIRED)
2+
13
add_executable(stream-parse stream-parse.cpp)
2-
target_link_libraries(stream-parse ${Boost_LIBRARIES})
4+
target_link_libraries(stream-parse ${Boost_LIBRARIES} Threads::Threads)
35

46
add_executable(synch-subscription synch-subscription.cpp)
5-
target_link_libraries(synch-subscription ${Boost_LIBRARIES})
7+
target_link_libraries(synch-subscription ${Boost_LIBRARIES} Threads::Threads)
68

79
add_executable(speed_test_async_multi speed_test_async_multi.cpp)
8-
target_link_libraries(speed_test_async_multi ${Boost_LIBRARIES})
10+
target_link_libraries(speed_test_async_multi ${Boost_LIBRARIES} Threads::Threads)

0 commit comments

Comments
 (0)