Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

Commit

Permalink
Link to Threads::Threads
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslo committed Feb 11, 2019
1 parent 695676a commit d542f06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmake/template/Config.cmake.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@PACKAGE_INIT@

find_package(Boost CONFIG REQUIRED system)
find_package(Threads REQUIRED)

include("${CMAKE_CURRENT_LIST_DIR}/@CMAKE_PROJECT_NAME@Targets.cmake")
check_required_components("@CMAKE_PROJECT_NAME@")
3 changes: 2 additions & 1 deletion src/redisclient/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ else()
PUBLIC
REDIS_CLIENT_SEPARATED_COMPILATION
)
find_package(Threads REQUIRED)
target_link_libraries(RedisClient
PUBLIC
Boost::system
Boost::system Threads::Threads
)
endif()

0 comments on commit d542f06

Please sign in to comment.