Skip to content

Commit

Permalink
update CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
lyblsgo committed Jan 23, 2024
1 parent 46e9334 commit a11eff3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/websocket/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if(ENABLE_WEBSOCKET)
# cmake_policy(SET CMP0135 NEW)
include(FetchContent)

if(NOT EXISTS ${PROJECT_SOURCE_DIR}/third_party/websocket )
if(NOT EXISTS ${PROJECT_SOURCE_DIR}/third_party/websocket/websocketpp )
FetchContent_Declare(websocketpp
GIT_REPOSITORY https://github.com/zaphoyd/websocketpp.git
GIT_TAG 0.8.2
Expand All @@ -42,7 +42,7 @@ if(ENABLE_WEBSOCKET)
endif()
include_directories(${PROJECT_SOURCE_DIR}/third_party/websocket)

if(NOT EXISTS ${PROJECT_SOURCE_DIR}/third_party/asio )
if(NOT EXISTS ${PROJECT_SOURCE_DIR}/third_party/asio/asio )
FetchContent_Declare(asio
URL https://github.com/chriskohlhoff/asio/archive/refs/tags/asio-1-24-0.tar.gz
SOURCE_DIR ${PROJECT_SOURCE_DIR}/third_party/asio
Expand All @@ -52,7 +52,7 @@ if(ENABLE_WEBSOCKET)
endif()
include_directories(${PROJECT_SOURCE_DIR}/third_party/asio/asio/include)

if(NOT EXISTS ${PROJECT_SOURCE_DIR}/third_party/json )
if(NOT EXISTS ${PROJECT_SOURCE_DIR}/third_party/json/ChangeLog.md )
FetchContent_Declare(json
URL https://github.com/nlohmann/json/archive/refs/tags/v3.11.2.tar.gz
SOURCE_DIR ${PROJECT_SOURCE_DIR}/third_party/json
Expand Down

0 comments on commit a11eff3

Please sign in to comment.