From 619bf02c801c7a65e217bfb69e84176925a93fdc Mon Sep 17 00:00:00 2001 From: "alexey.stratulat" <alexey.stratulat@demlabs.net> Date: Mon, 13 Jan 2020 17:06:48 +0700 Subject: [PATCH] [+] Added submodule libdap-chain-common-python. --- .gitmodules | 3 +++ CMakeLists.txt | 7 +++++++ libdap-chain-common-python | 1 + 3 files changed, 11 insertions(+) create mode 160000 libdap-chain-common-python diff --git a/.gitmodules b/.gitmodules index be43aa5b..e0b9f9a0 100644 --- a/.gitmodules +++ b/.gitmodules @@ -82,3 +82,6 @@ [submodule "libdap-python"] path = libdap-python url = https://gitlab.demlabs.net/cellframe/libdap-python.git +[submodule "libdap-chain-common-python"] + path = libdap-chain-common-python + url = https://gitlab.demlabs.net/cellframe/libdap-chain-common-python.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 0f8671ac..1175015b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -189,6 +189,13 @@ if (NOT (${SUBMODULES_NO_BUILD} MATCHES ON)) "-fpic" ) endif() + if (NOT (TARGET (dap_chain_common_python_module))) + add_subdirectory(libdap-chain-common-python) + target_compile_options( + dap_chain_common_python_module PRIVATE + "-fpic" + ) + endif() endif() diff --git a/libdap-chain-common-python b/libdap-chain-common-python new file mode 160000 index 00000000..4886d3e9 --- /dev/null +++ b/libdap-chain-common-python @@ -0,0 +1 @@ +Subproject commit 4886d3e91ce097e3f923e4b4d3e52bb8509d7c46 -- GitLab