Fix build with ancient CMake
This commit is contained in:
parent
a734f67978
commit
70205edd6e
@ -93,7 +93,7 @@ check_cxx_source_compiles("
|
|||||||
struct S { typedef typename S<Types...>::type type; };
|
struct S { typedef typename S<Types...>::type type; };
|
||||||
int main() {}" FMT_VARIADIC_TEMPLATES)
|
int main() {}" FMT_VARIADIC_TEMPLATES)
|
||||||
if (NOT FMT_VARIADIC_TEMPLATES)
|
if (NOT FMT_VARIADIC_TEMPLATES)
|
||||||
target_compile_definitions(gmock PUBLIC GTEST_LANG_CXX11=0)
|
add_definitions(-DGTEST_LANG_CXX11=0)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# GTest doesn't detect <tuple> with clang.
|
# GTest doesn't detect <tuple> with clang.
|
||||||
|
Loading…
Reference in New Issue
Block a user