Skip to content

Fix libraries names #376

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion concurrency/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(CPP-NETLIB_CONCURRENCY_SRCS
thread_pool.cpp)

if(NOT CPP-NETLIB_BUILD_SINGLE_LIB)
add_library(network_concurrency ${CPP-NETLIB_CONCURRENCY_SRCS})
add_library(network-concurrency ${CPP-NETLIB_CONCURRENCY_SRCS})
endif()

# prepend current directory to make paths absolute
Expand Down
2 changes: 1 addition & 1 deletion concurrency/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include_directories(${CPP-NETLIB_SOURCE_DIR}/concurrency/src
if (CPP-NETLIB_BUILD_TESTS)
add_executable(cpp-netlib-thread_pool_test thread_pool_test.cpp)
target_link_libraries(cpp-netlib-thread_pool_test
network_concurrency
network-concurrency
${Boost_LIBRARIES}
${GTEST_BOTH_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT})
Expand Down
2 changes: 1 addition & 1 deletion error/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(CPP-NETLIB_ERROR_SRCS
error.cpp)

if(NOT CPP-NETLIB_BUILD_SINGLE_LIB)
add_library(network_error ${CPP-NETLIB_ERROR_SRCS})
add_library(network-error ${CPP-NETLIB_ERROR_SRCS})
endif()

# prepend current directory to make paths absolute
Expand Down
2 changes: 1 addition & 1 deletion error/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if (CPP-NETLIB_BUILD_TESTS)
add_executable(cpp-netlib-error_test error_test.cpp)
target_link_libraries(cpp-netlib-error_test
${link_cppnetlib_lib}
network_error
network-error
${Boost_LIBRARIES}
${GTEST_BOTH_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT})
Expand Down