Skip to content

Commit b469278

Browse files
committed
Renamed concurrency library.
1 parent d043072 commit b469278

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

concurrency/src/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set(CPP-NETLIB_CONCURRENCY_SRCS
99
thread_pool.cpp)
1010

1111
if(NOT CPP-NETLIB_BUILD_SINGLE_LIB)
12-
add_library(cppnetlib-concurrency ${CPP-NETLIB_CONCURRENCY_SRCS})
12+
add_library(network_concurrency ${CPP-NETLIB_CONCURRENCY_SRCS})
1313
endif()
1414

1515
# prepend current directory to make paths absolute

concurrency/test/CMakeLists.txt

+1-8
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,10 @@ include_directories(${CPP-NETLIB_SOURCE_DIR}/concurrency/src
77
${GTEST_INCLUDE_DIRS}
88
${CPP-NETLIB_SOURCE_DIR}
99
)
10-
11-
if(CPP-NETLIB_BUILD_SINGLE_LIB)
12-
set(link_cppnetlib_lib cppnetlib)
13-
else()
14-
set(link_cppnetlib_lib cppnetlib-concurrency)
15-
endif()
16-
1710
if (CPP-NETLIB_BUILD_TESTS)
1811
add_executable(cpp-netlib-thread_pool_test thread_pool_test.cpp)
1912
target_link_libraries(cpp-netlib-thread_pool_test
20-
${link_cppnetlib_lib}
13+
network_concurrency
2114
${Boost_LIBRARIES}
2215
${GTEST_BOTH_LIBRARIES}
2316
${CMAKE_THREAD_LIBS_INIT})

0 commit comments

Comments
 (0)