mirror of
https://github.com/zhenyan121/SporeBG-Conid.git
synced 2026-04-10 06:14:08 +08:00
Added nlohmann/json
This commit is contained in:
@@ -56,6 +56,7 @@ target_link_libraries(${PROJECT_NAME}
|
||||
SDL3::SDL3
|
||||
SDL3_ttf::SDL3_ttf
|
||||
SDL3_image::SDL3_image
|
||||
nlohmann_json::nlohmann_json
|
||||
)
|
||||
|
||||
# ========== Windows: 复制 DLL ==========
|
||||
|
||||
@@ -35,4 +35,12 @@ FetchContent_Declare(
|
||||
GIT_TAG release-3.2.0
|
||||
)
|
||||
|
||||
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