mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 19:29:02 +08:00
Always enable /bigobj for tests to avoid a compile error in MSVC 2015
This commit is contained in:
parent
ca6a2a5248
commit
6ed571744b
@ -61,7 +61,7 @@ macro(ei_add_test_internal testname testname_with_suffix)
|
|||||||
|
|
||||||
ei_add_target_property(${targetname} COMPILE_FLAGS "-DEIGEN_TEST_FUNC=${testname}")
|
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")
|
ei_add_target_property(${targetname} COMPILE_FLAGS "/bigobj")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user