use ctest for testing

This commit is contained in:
Benjamin Sergeant committed 2020-11-11 11:11:34 -08:00
1 parent b05b124cb3
commit f60485d9c2
9 files changed
+142 -146

No files matched your search

+3 -2
View File
@@ -270,9 +270,10 @@ if (USE_WS OR USE_TEST)
FetchContent_MakeAvailable(spdlog)
if (USE_WS)
add_subdirectory(ws)
add_subdirectory(ws)
endif()
if (USE_TEST)
add_subdirectory(test)
enable_testing()
add_subdirectory(test)
endif()
endif()