From b3ddef2fc2be449e886e6bd1f654bce815dde472 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 7 Jul 2019 14:09:23 +0300 Subject: [PATCH] Minor cmake fix in for tests --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index e6d258d8..49c2744e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -27,7 +27,7 @@ set(SPDLOG_UTESTS_SOURCES test_dup_filter.cpp) if(systemd_FOUND) - set(SPDLOG_UTESTS_SOURCES ${SPDLOG_UTESTS_SOURCES} test_systemd.cpp) + list(APPEND SPDLOG_UTESTS_SOURCES test_systemd.cpp) endif() file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/logs")