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:
parent
50a1391232
commit
395ed0eb2a
|
@ -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
Loading…
Reference in New Issue