From 6c5e0a0b88d4b100dcd229fe6dfde3dd488cd41d Mon Sep 17 00:00:00 2001 From: Green Sky Date: Thu, 14 Dec 2023 18:24:55 +0100 Subject: [PATCH] add totato as sub --- .gitmodules | 3 +++ external/CMakeLists.txt | 2 ++ external/totato | 1 + external/toxcore/CMakeLists.txt | 5 +++++ 4 files changed, 11 insertions(+) create mode 160000 external/totato diff --git a/.gitmodules b/.gitmodules index 3cc087a..9f6a838 100644 --- a/.gitmodules +++ b/.gitmodules @@ -35,3 +35,6 @@ [submodule "external/solanaceae_ircclient"] path = external/solanaceae_ircclient url = https://github.com/Green-Sky/solanaceae_ircclient.git +[submodule "external/totato"] + path = external/totato + url = https://github.com/Green-Sky/totato.git diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index a18b7cb..ca3b7c8 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -22,3 +22,5 @@ add_subdirectory(./solanaceae_toxic_games) set(SOLANACEAE_IRCCLIENT_BUILD_PLUGINS ON) add_subdirectory(./solanaceae_ircclient) +add_subdirectory(./totato) + diff --git a/external/totato b/external/totato new file mode 160000 index 0000000..f9a43c3 --- /dev/null +++ b/external/totato @@ -0,0 +1 @@ +Subproject commit f9a43c30cc153ac6e9b2ffe0be469addc87a3d3a diff --git a/external/toxcore/CMakeLists.txt b/external/toxcore/CMakeLists.txt index fbd36e6..fc61af1 100644 --- a/external/toxcore/CMakeLists.txt +++ b/external/toxcore/CMakeLists.txt @@ -155,6 +155,11 @@ configure_file( ${TOX_DIR}tox/tox_events.h @ONLY ) +configure_file( + ${TOX_DIR}toxcore/tox_private.h + ${TOX_DIR}tox/tox_private.h + @ONLY +) target_include_directories(toxcore PRIVATE "${TOX_DIR}toxcore") target_include_directories(toxcore PUBLIC "${TOX_DIR}")