build: fix tests build on Linux by doctest update

Update doctest.h because the old version causes build failures on Linux.

Also move it from third_party/include/doctest to third_party/include.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover 2022-08-09 14:18:40 +00:00
parent 50a1391232
commit 395ed0eb2a
No known key found for this signature in database
GPG Key ID: 08AB596679D86240
2 changed files with 2293 additions and 1481 deletions

View File

@ -5,8 +5,6 @@ endif()
include(doctest) include(doctest)
include_directories("${CMAKE_SOURCE_DIR}/third_party/include/doctest")
function(add_doctest_test test_src) function(add_doctest_test test_src)
string(REGEX REPLACE ".cpp$" "" test_name "${test_src}") string(REGEX REPLACE ".cpp$" "" test_name "${test_src}")

File diff suppressed because it is too large Load Diff