Skip to content

Commit

Permalink
Add libhydrogen submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
who-biz committed Jun 2, 2019
1 parent ea7e7f0 commit 1e66139
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[submodule "external/rapidjson"]
path = external/rapidjson
url = https://github.com/Tencent/rapidjson.git
[submodule "libhydrogen"]
path = external/libhydrogen
url = https://github.com/blur-network/libhydrogen.git
branch = blur
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ endif()
# elseif(CMAKE_SYSTEM_NAME MATCHES ".*BSDI.*")
# set(BSDI TRUE)

include_directories(external/rapidjson/include external/easylogging++ src contrib/epee/include external)
include_directories(external/rapidjson/include external/easylogging++ external/libhydrogen src contrib/epee/include external)

if(APPLE)
include_directories(SYSTEM /usr/include/malloc)
Expand Down Expand Up @@ -398,6 +398,10 @@ add_subdirectory(external)
include_directories(${EASYLOGGING_INCLUDE})
link_directories(${EASYLOGGING_LIBRARY_DIRS})

# Final setup for libhydrogen
include_directories(${HYDROGEN_INCLUDE})
include_directories(${HYDROGEN_LIBRARY_DIR})

# Final setup for liblmdb
include_directories(${LMDB_INCLUDE})

Expand Down
1 change: 1 addition & 0 deletions external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@

add_subdirectory(db_drivers)
add_subdirectory(easylogging++)
add_subdirectory(libhydrogen)
1 change: 1 addition & 0 deletions external/libhydrogen
Submodule libhydrogen added at 1f41a7

0 comments on commit 1e66139

Please sign in to comment.