aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-10-27 19:21:28 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-10-27 19:21:28 +0000
commitc3ce4f9ac0dd36cbf7645539702a90f58e0b2718 (patch)
treeed782a3cd32601148d336f090159a1dcb54a7587
parent7d64e6752c6b1d6619c6fbd6c134ead077817f65 (diff)
parent6ed571744bd6f4233ebb88e13e3c3f86b12504b3 (diff)
Merged in enricodetoma/eigen (pull request PR-241)
Always enable /bigobj for tests to avoid a compile error in MSVC 2015
-rw-r--r--cmake/EigenTesting.cmake2
1 files changed, 1 insertions, 1 deletions
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()