Added tweakme options to CMakeLists.txt

This commit is contained in:
gabime
2019-11-04 17:19:18 +02:00
parent dae1aeb1f7
commit 18edb8bd63
2 changed files with 56 additions and 9 deletions

View File

@@ -24,7 +24,6 @@ set(SPDLOG_UTESTS_SOURCES
test_sink.h
test_fmt_helper.cpp
test_stdout_api.cpp
test_dup_filter.cpp
test_backtrace.cpp
test_create_dir.cpp)
@@ -36,6 +35,13 @@ if(systemd_FOUND)
list(APPEND SPDLOG_UTESTS_SOURCES test_systemd.cpp)
endif()
if(NOT SPDLOG_NO_DATETIME)
list(APPEND SPDLOG_UTESTS_SOURCES test_dup_filter.cpp)
endif()
enable_testing()
function(spdlog_prepare_test test_target spdlog_lib)