From f858179cc3ff4129e99a4f53b09be9f6fe564ee1 Mon Sep 17 00:00:00 2001 From: Jens Koenen <koenen@vr.rwth-aachen.de> Date: Wed, 25 May 2022 11:23:48 +0200 Subject: [PATCH] Added asio as sub-module to the project. --- .gitmodules | 3 +++ CMakeLists.txt | 1 + src/headset/remote_headset.cpp | 1 + 3 files changed, 5 insertions(+) diff --git a/.gitmodules b/.gitmodules index 62523be0..64a9f7d2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -51,3 +51,6 @@ [submodule "ext/assimp"] path = ext/assimp url = https://github.com/assimp/assimp.git +[submodule "ext/asio"] + path = ext/asio + url = https://github.com/chriskohlhoff/asio.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 087e2a7c..ea3fcbbf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -694,6 +694,7 @@ message("======================================================================= target_include_directories(${NAME} PUBLIC ${SRC_DIR} + ${LIBLAVA_EXT_DIR}/asio/asio/include/ ) if (WIN32) diff --git a/src/headset/remote_headset.cpp b/src/headset/remote_headset.cpp index 068c3d65..15676e42 100644 --- a/src/headset/remote_headset.cpp +++ b/src/headset/remote_headset.cpp @@ -1,4 +1,5 @@ #include "remote_headset.hpp" +#include <asio.hpp> bool RemoteHeadset::on_setup_instance(lava::frame_config& config) { -- GitLab