Move FMT_USE_VARIADIC_TEMPLATES definition to macro-test.cc
This commit is contained in:
parent
8ed6031457
commit
538c2610cb
@ -46,8 +46,6 @@ if (HAVE_TYPE_TRAITS)
|
||||
endif ()
|
||||
|
||||
add_executable(macro-test macro-test.cc ${FMT_TEST_SOURCES} ${TEST_MAIN_SRC})
|
||||
set_target_properties(macro-test
|
||||
PROPERTIES COMPILE_DEFINITIONS "FMT_USE_VARIADIC_TEMPLATES=0")
|
||||
target_link_libraries(macro-test gmock)
|
||||
|
||||
if (HAVE_OPEN)
|
||||
|
@ -27,6 +27,8 @@
|
||||
|
||||
#include <utility>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#define FMT_USE_VARIADIC_TEMPLATES 0
|
||||
#include "format.h"
|
||||
|
||||
#define IDENTITY(x) x
|
||||
|
Loading…
Reference in New Issue
Block a user