From c67db46b1225b53ae36264b68b78fcdedc375d30 Mon Sep 17 00:00:00 2001 From: Stephen Shelton Date: Thu, 14 May 2020 13:20:43 -0600 Subject: [PATCH] Add loki-mq as submodule --- .gitmodules | 3 +++ CMakeLists.txt | 3 +++ external/loki-mq | 1 + 3 files changed, 7 insertions(+) create mode 160000 external/loki-mq diff --git a/.gitmodules b/.gitmodules index 83ff3c3c3..c50dd5725 100644 --- a/.gitmodules +++ b/.gitmodules @@ -27,3 +27,6 @@ path = external/libuv url = https://github.com/libuv/libuv branch = v1.x +[submodule "external/loki-mq"] + path = external/loki-mq + url = https://github.com/loki-project/loki-mq diff --git a/CMakeLists.txt b/CMakeLists.txt index c917eff0b..20123da5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -272,9 +272,12 @@ if(SUBMODULE_CHECK) if (NOT WIN32) # we grab libuv for windows separately in win32-setup/libuv. see note in cmake/win32.cmake. check_submodule(external/libuv) endif() + check_submodule(external/loki-mq) endif() endif() +add_subdirectory(external/loki-mq EXCLUDE_FROM_ALL) + # We only actually need pybind11 with WITH_HIVE, but if we don't load it here then something further # down loads a broken PythonInterp that loads Python2, but Python2 headers are not C++17 compatible. # So load this here universally so that pybind's more intelligent python finder finds python3.x diff --git a/external/loki-mq b/external/loki-mq new file mode 160000 index 000000000..719a9b0b5 --- /dev/null +++ b/external/loki-mq @@ -0,0 +1 @@ +Subproject commit 719a9b0b58b7520931b83aa3c5ce110172e4c279