mirror of
https://github.com/zhenyan121/SporeBG-Conid.git
synced 2026-04-10 06:14:08 +08:00
Added Boost.Asio
This commit is contained in:
@@ -37,10 +37,5 @@ FetchContent_Declare(
|
||||
|
||||
FetchContent_MakeAvailable(SDL3_image)
|
||||
|
||||
FetchContent_Declare(
|
||||
nlohmann_json
|
||||
GIT_REPOSITORY https://github.com/nlohmann/json.git
|
||||
GIT_TAG v3.12.0
|
||||
)
|
||||
|
||||
FetchContent_MakeAvailable(nlohmann_json)
|
||||
|
||||
|
||||
16
cmake/ThirdParty.cmake
Normal file
16
cmake/ThirdParty.cmake
Normal file
@@ -0,0 +1,16 @@
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
nlohmann_json
|
||||
GIT_REPOSITORY https://github.com/nlohmann/json.git
|
||||
GIT_TAG v3.12.0
|
||||
)
|
||||
|
||||
FetchContent_MakeAvailable(nlohmann_json)
|
||||
|
||||
FetchContent_Declare(
|
||||
asio
|
||||
GIT_REPOSITORY https://github.com/chriskohlhoff/asio.git
|
||||
GIT_TAG asio-1-36-0 # 指定一个稳定版本标签
|
||||
)
|
||||
FetchContent_MakeAvailable(asio)
|
||||
Reference in New Issue
Block a user