Merged in enricodetoma/eigen (pull request PR-241)

Always enable /bigobj for tests to avoid a compile error in MSVC 2015
This commit is contained in:
Gael Guennebaud 2016-10-27 19:21:28 +00:00
commit c3ce4f9ac0

View File

@ -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()