diff options
author | gabime <gmelman1@gmail.com> | 2019-11-04 18:19:18 +0300 |
---|---|---|
committer | gabime <gmelman1@gmail.com> | 2019-11-04 18:19:18 +0300 |
commit | 18edb8bd63deb0f4660b7a29fa82afb9c9903527 (patch) | |
tree | dac54c7d27514540f05c71cfb32466cd4b715cc6 /tests | |
parent | dae1aeb1f737fa00797ce92e057a7e44bc92684f (diff) |
Added tweakme options to CMakeLists.txt
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 17529f2a..c3b346cc 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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) |