mirror of
https://github.com/zhenyan121/SporeBG-Conid.git
synced 2026-04-10 14:24:10 +08:00
Added nlohmann/json
This commit is contained in:
@@ -56,6 +56,7 @@ target_link_libraries(${PROJECT_NAME}
|
|||||||
SDL3::SDL3
|
SDL3::SDL3
|
||||||
SDL3_ttf::SDL3_ttf
|
SDL3_ttf::SDL3_ttf
|
||||||
SDL3_image::SDL3_image
|
SDL3_image::SDL3_image
|
||||||
|
nlohmann_json::nlohmann_json
|
||||||
)
|
)
|
||||||
|
|
||||||
# ========== Windows: 复制 DLL ==========
|
# ========== Windows: 复制 DLL ==========
|
||||||
|
|||||||
@@ -36,3 +36,11 @@ FetchContent_Declare(
|
|||||||
)
|
)
|
||||||
|
|
||||||
FetchContent_MakeAvailable(SDL3_image)
|
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)
|
||||||
Reference in New Issue
Block a user