aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorGravatar enrico.detoma <enrico.detoma@gmail.com>2016-10-26 22:48:46 +0200
committerGravatar enrico.detoma <enrico.detoma@gmail.com>2016-10-26 22:48:46 +0200
commit6ed571744bd6f4233ebb88e13e3c3f86b12504b3 (patch)
treef65ef5c9bf9464d4cea80d2d913f9e9239357f93 /cmake
parentca6a2a524832e051b64a1545a91220f9dc9887cb (diff)
Always enable /bigobj for tests to avoid a compile error in MSVC 2015
Diffstat (limited to 'cmake')
-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()