Skip to content

Commit

Permalink
Merge pull request #9 from toppers/remove_json_submodule
Browse files Browse the repository at this point in the history
Remove json submodule
  • Loading branch information
tmori authored Jan 1, 2024
2 parents d5163a6 + 7c09cf5 commit b56bfcd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

6 changes: 5 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ if(WIN32)
endif(WIN32)
MESSAGE(STATUS "OS_TYPE=" ${OS_TYPE})

include(FetchContent)
FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz)
FetchContent_MakeAvailable(json)

add_library(
hako STATIC
hako/hako_impl.cpp
Expand Down Expand Up @@ -39,6 +43,6 @@ target_include_directories(
PRIVATE /mingw64/include
PRIVATE ${PROJECT_SOURCE_DIR}/include
PRIVATE ${PROJECT_SOURCE_DIR}/hako
PRIVATE ${PROJECT_SOURCE_DIR}/../third-party/json/single_include
PRIVATE ${nlohmann_json_SOURCE_DIR}/single_include
)

1 change: 0 additions & 1 deletion third-party/json
Submodule json deleted from 41226d

0 comments on commit b56bfcd

Please sign in to comment.