Skip to content
Snippets Groups Projects
Commit 8db52871 authored by dmitriy.gerasimov's avatar dmitriy.gerasimov
Browse files

[*] Submodules updates

[*] Fixed check if the submodule is initialized
parent 42017a2c
No related branches found
No related tags found
1 merge request!24Support 3689
...@@ -2,6 +2,12 @@ ...@@ -2,6 +2,12 @@
path = libdap path = libdap
url = https://github.com/kelvinblockchain/libdap url = https://github.com/kelvinblockchain/libdap
branch = master branch = master
[submodule "libdap-crypto"]
path = libdap-crypto
url = https://github.com/kelvinblockchain/libdap-crypto
branch = master
[submodule "test/libdap-test"] [submodule "test/libdap-test"]
path = test/libdap-test path = test/libdap-test
url = https://github.com/kelvinblockchain/libdap-test url = https://github.com/kelvinblockchain/libdap-test
......
...@@ -13,6 +13,9 @@ if(NOT (${SUBMODULES_NO_BUILD} MATCHES ON)) ...@@ -13,6 +13,9 @@ if(NOT (${SUBMODULES_NO_BUILD} MATCHES ON))
if ( NOT ( TARGET dap_core ) ) if ( NOT ( TARGET dap_core ) )
add_subdirectory(libdap) add_subdirectory(libdap)
endif() endif()
if ( NOT ( TARGET dap_crypto ) )
add_subdirectory(libdap-crypto)
endif()
enable_testing() enable_testing()
add_subdirectory(test) add_subdirectory(test)
endif() endif()
...@@ -22,5 +25,5 @@ file(GLOB CORE_SERVER_HEADERS *.h) ...@@ -22,5 +25,5 @@ file(GLOB CORE_SERVER_HEADERS *.h)
add_library(${PROJECT_NAME} STATIC ${CORE_SERVER_SOURCES} ${CORE_SERVER_HEADERS}) add_library(${PROJECT_NAME} STATIC ${CORE_SERVER_SOURCES} ${CORE_SERVER_HEADERS})
target_link_libraries(${PROJECT_NAME} pthread ev memcached dap_crypto) target_link_libraries(${PROJECT_NAME} pthread ev memcached dap_core dap_crypto)
target_include_directories(${PROJECT_NAME} INTERFACE .) target_include_directories(${PROJECT_NAME} INTERFACE .)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment