Files
snoop_device/third_party/socket.io-client-cpp/test/CMakeLists.txt
2025-09-08 14:36:31 +03:00

15 lines
366 B
CMake

include(FetchContent)
FetchContent_Declare(
Catch2
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
GIT_TAG v3.3.2
)
FetchContent_MakeAvailable(Catch2)
find_package(Threads REQUIRED)
add_executable(sio_test sio_test.cpp)
target_link_libraries(sio_test PRIVATE Catch2::Catch2WithMain sioclient Threads::Threads)
add_test(sioclient_test sio_test)