From eec2ae51ca8f9145023f62cd64cd9d66b22c5756 Mon Sep 17 00:00:00 2001 From: briaguya <70942617+briaguya-ai@users.noreply.github.com> Date: Sun, 28 Sep 2025 08:11:23 -0400 Subject: [PATCH] fetchcontent wswrap --- soh/CMakeLists.txt | 9 ++++++++- subprojects/wswrap | 1 - 2 files changed, 8 insertions(+), 2 deletions(-) delete mode 160000 subprojects/wswrap diff --git a/soh/CMakeLists.txt b/soh/CMakeLists.txt index 40f60fb2a..528dcd71b 100644 --- a/soh/CMakeLists.txt +++ b/soh/CMakeLists.txt @@ -325,10 +325,17 @@ if(BUILD_REMOTE_CONTROL) else() find_package(websocketpp REQUIRED) endif() + + FetchContent_Declare( + wswrap + GIT_REPOSITORY https://github.com/black-sliver/wswrap.git + GIT_TAG 47438193ec50427ee28aadf294ba57baefd9f3f1 + ) + FetchContent_MakeAvailable(wswrap) + target_include_directories(${PROJECT_NAME} PRIVATE ${wswrap_SOURCE_DIR}/include) endif() target_include_directories(${PROJECT_NAME} PRIVATE - ${CMAKE_CURRENT_SOURCE_DIR}/../subprojects/wswrap/include ${CMAKE_CURRENT_SOURCE_DIR}/../subprojects/apclientpp ) diff --git a/subprojects/wswrap b/subprojects/wswrap deleted file mode 160000 index 47438193e..000000000 --- a/subprojects/wswrap +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 47438193ec50427ee28aadf294ba57baefd9f3f1