From 6ed571744bd6f4233ebb88e13e3c3f86b12504b3 Mon Sep 17 00:00:00 2001 From: "enrico.detoma" Date: Wed, 26 Oct 2016 22:48:46 +0200 Subject: Always enable /bigobj for tests to avoid a compile error in MSVC 2015 --- cmake/EigenTesting.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/EigenTesting.cmake b/cmake/EigenTesting.cmake index 602ab5271..a88d54468 100644 --- a/cmake/EigenTesting.cmake +++ b/cmake/EigenTesting.cmake @@ -61,7 +61,7 @@ macro(ei_add_test_internal testname testname_with_suffix) ei_add_target_property(${targetname} COMPILE_FLAGS "-DEIGEN_TEST_FUNC=${testname}") - if(MSVC AND NOT EIGEN_SPLIT_LARGE_TESTS) + if(MSVC) ei_add_target_property(${targetname} COMPILE_FLAGS "/bigobj") endif() -- cgit v1.2.3