diff --git a/.gitmodules b/.gitmodules index 62523be0fe754d745fbfd955c441a1c22427df68..64a9f7d23488453003fcd94a7818b7dfafa47b52 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 087e2a7c2e80989837e94e9b941004c56e5224f8..ea3fcbbfacfd396c4a70c1072fccb0c3041ac8fd 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 068c3d65043519daf093829ea2c0b44e67ffd3a2..15676e427505eea2f0b2f309dfaef9c9a2c4dd3c 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) {