Fix type_traits check
This commit is contained in:
parent
b79d06a5da
commit
d00f689c40
@ -39,7 +39,7 @@ endforeach ()
|
||||
check_cxx_source_compiles("
|
||||
#include <type_traits>
|
||||
class C { void operator=(const C&); };
|
||||
int main() { static_assert(std::is_copy_assignable<C>::value, \"\"); }"
|
||||
int main() { static_assert(!std::is_copy_assignable<C>::value, \"\"); }"
|
||||
HAVE_TYPE_TRAITS)
|
||||
if (HAVE_TYPE_TRAITS)
|
||||
add_definitions(-DFMT_USE_TYPE_TRAITS=1)
|
||||
|
Loading…
Reference in New Issue
Block a user