first commit
This commit is contained in:
14
third_party/socket.io-client-cpp/test/CMakeLists.txt
vendored
Normal file
14
third_party/socket.io-client-cpp/test/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user