mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-11 15:41:49 +08:00
Oopps, EIGEN_COMP_MSVC is not available before including Eigen.
(grafted from de70671937827dd61a63d2432e0bea4ca7b00300 )
This commit is contained in:
parent
a185bc485c
commit
06fc5761fa
@ -7,7 +7,7 @@
|
|||||||
// Public License v. 2.0. If a copy of the MPL was not distributed
|
// Public License v. 2.0. If a copy of the MPL was not distributed
|
||||||
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
#if EIGEN_COMP_MSVC==1800
|
#if defined(_MSC_VER) && (_MSC_VER==1800)
|
||||||
// This unit test takes forever to compile in Release mode with MSVC 2013,
|
// This unit test takes forever to compile in Release mode with MSVC 2013,
|
||||||
// multiple hours. So let's switch off optimization for this one.
|
// multiple hours. So let's switch off optimization for this one.
|
||||||
#pragma optimize("",off)
|
#pragma optimize("",off)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user