-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CICD: Add boost-coroutine2 for async
MINOR
- Loading branch information
1 parent
f21c1e9
commit 3aaef5d
Showing
3 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
cmake_minimum_required(VERSION 3.15) | ||
|
||
find_package(asio CONFIG REQUIRED) | ||
find_package(asio REQUIRED) | ||
find_package(Threads REQUIRED) | ||
find_package(Boost REQUIRED) | ||
|
||
target_link_libraries(${PROJECT_NAME_CLIENT} PRIVATE Threads::Threads) | ||
target_include_directories(${PROJECT_NAME_CLIENT} PRIVATE ${asio_INCLUDE_DIRS}) | ||
target_link_libraries(${PROJECT_NAME_CLIENT} PRIVATE ${asio_LIBRARIES}) | ||
target_include_directories(${PROJECT_NAME_CLIENT} PRIVATE ${Boost_INCLUDE_DIRS}) | ||
target_link_libraries(${PROJECT_NAME_CLIENT} PRIVATE ${Boost_LIBRARIES}) | ||
|
||
target_link_libraries(${PROJECT_NAME_SERVER} PRIVATE Threads::Threads) | ||
target_include_directories(${PROJECT_NAME_SERVER} PRIVATE ${asio_INCLUDE_DIRS}) | ||
target_link_libraries(${PROJECT_NAME_SERVER} PRIVATE ${asio_LIBRARIES}) | ||
target_include_directories(${PROJECT_NAME_SERVER} PRIVATE ${Boost_INCLUDE_DIRS}) | ||
target_link_libraries(${PROJECT_NAME_SERVER} PRIVATE ${Boost_LIBRARIES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters