File tree 2 files changed +2
-9
lines changed
2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ set(CPP-NETLIB_CONCURRENCY_SRCS
9
9
thread_pool.cpp)
10
10
11
11
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})
13
13
endif ()
14
14
15
15
# prepend current directory to make paths absolute
Original file line number Diff line number Diff line change @@ -7,17 +7,10 @@ include_directories(${CPP-NETLIB_SOURCE_DIR}/concurrency/src
7
7
${GTEST_INCLUDE_DIRS}
8
8
${CPP-NETLIB_SOURCE_DIR}
9
9
)
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
-
17
10
if (CPP-NETLIB_BUILD_TESTS)
18
11
add_executable (cpp-netlib-thread_pool_test thread_pool_test.cpp)
19
12
target_link_libraries (cpp-netlib-thread_pool_test
20
- ${link_cppnetlib_lib}
13
+ network_concurrency
21
14
${Boost_LIBRARIES}
22
15
${GTEST_BOTH_LIBRARIES}
23
16
${CMAKE_THREAD_LIBS_INIT} )
You can’t perform that action at this time.
0 commit comments