diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-06-10 21:45:04 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-06-10 21:45:04 +0100 |
commit | 7116d3b8fe6605817d3fd9760562883d1976fa4c (patch) | |
tree | f48fa0ee395d96ff161943ee43f1d970edebfe43 /CMakeLists.txt | |
parent | 04316e727876e2b7480d4d0b3af1e3d90021dd7d (diff) | |
download | rspamd-7116d3b8fe6605817d3fd9760562883d1976fa4c.tar.gz rspamd-7116d3b8fe6605817d3fd9760562883d1976fa4c.zip |
[Minor] Use header only mode for fmt
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 76d52130d..bf862f500 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -255,6 +255,7 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_C_OPT_FLAGS} ${CMAKE_CXX_FLAGS}") ADD_DEFINITIONS(-DHAVE_CONFIG_H) ADD_DEFINITIONS(-DDOCTEST_CONFIG_NO_MULTI_LANE_ATOMICS) +ADD_DEFINITIONS(-DFMT_HEADER_ONLY) # Workaround for https://github.com/onqtam/doctest/issues/356 ADD_DEFINITIONS(-DDOCTEST_CONFIG_USE_STD_HEADERS) ADD_DEFINITIONS(-DU_CHARSET_IS_UTF8) @@ -614,7 +615,6 @@ ADD_SUBDIRECTORY(contrib/kann) ADD_SUBDIRECTORY(contrib/fastutf8) ADD_SUBDIRECTORY(contrib/google-ced) IF(SYSTEM_FMT MATCHES "OFF") - ADD_SUBDIRECTORY(contrib/fmt) INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/contrib/fmt/include") ELSE() find_package(fmt) |