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