update cmake

This commit is contained in:
ado
2021-02-07 12:15:53 +01:00
parent 9408c385d6
commit e366618639
2 changed files with 12 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ enable_testing()
foreach(name IN ITEMS test_splitter test_parser test_converter test_extractions)
add_executable("${name}" "${name}.cpp")
target_link_libraries("${name}" PRIVATE ssp::ssp doctest::doctest)
target_link_libraries("${name}" PRIVATE ssp::ssp fast_float doctest::doctest)
target_compile_definitions("${name}" PRIVATE
DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN CMAKE_GITHUB_CI)
doctest_discover_tests("${name}")