Fixed ifdefs

This commit is contained in:
gabime
2023-09-28 22:58:50 +03:00
parent 0773e11883
commit 976d3d20b6
5 changed files with 34 additions and 32 deletions

View File

@@ -28,7 +28,6 @@ set(SPDLOG_UTESTS_SOURCES
test_file_logging.cpp
test_daily_logger.cpp
test_misc.cpp
test_eventlog.cpp
test_pattern_formatter.cpp
test_async.cpp
test_registry.cpp
@@ -51,6 +50,10 @@ set(SPDLOG_UTESTS_SOURCES
test_include_sinks.cpp
)
if(WIN32)
list(APPEND SPDLOG_UTESTS_SOURCES test_eventlog.cpp)
endif()
if(NOT SPDLOG_NO_EXCEPTIONS)
list(APPEND SPDLOG_UTESTS_SOURCES test_errors.cpp)
endif()