-
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.
Added define for examples to be build
- Loading branch information
1 parent
32864a1
commit f72916f
Showing
4 changed files
with
7 additions
and
11 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
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,13 +1,5 @@ | ||
cmake_minimum_required(VERSION 3.15) | ||
project(websocket_example) | ||
|
||
set(CMAKE_CXX_STANDARD 20) | ||
|
||
find_package(libio REQUIRED) | ||
find_package(Boost COMPONENTS system log REQUIRED) | ||
find_package(OpenSSL REQUIRED) | ||
|
||
add_executable(websocket_example src/main.cpp) | ||
|
||
target_link_libraries(websocket_example PRIVATE ${LIBIO_LIBRARIES}) | ||
target_compile_options(websocket_example PRIVATE "-fcoroutines") | ||
target_link_libraries(websocket_example PRIVATE io) |
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