diff options
author | Hauke Heibel <hauke.heibel@gmail.com> | 2010-10-17 12:33:47 +0200 |
---|---|---|
committer | Hauke Heibel <hauke.heibel@gmail.com> | 2010-10-17 12:33:47 +0200 |
commit | cd3a9d1ccba8547378e993538d3347705ad950f1 (patch) | |
tree | 0ec290ed74c50716343c49e6eb6cb4e8cea4e392 /CMakeLists.txt | |
parent | c19b965730a69264ddbe33a26c8848f730fe45e4 (diff) |
Fixed bug #74.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d5d855183..16f21faa5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,7 +88,11 @@ else() set(CMAKE_BUILD_TYPE "Release") endif() -option(EIGEN_SPLIT_LARGE_TESTS "Split large tests into smaller executables" ON) +if(cmake_generator_tolower MATCHES "makefile" AND NOT MSVC_IDE) + option(EIGEN_SPLIT_LARGE_TESTS "Split large tests into smaller executables" ON) +else() + option(EIGEN_SPLIT_LARGE_TESTS "Split large tests into smaller executables" OFF) +endif() option(EIGEN_DEFAULT_TO_ROW_MAJOR "Use row-major as default matrix storage order" OFF) if(EIGEN_DEFAULT_TO_ROW_MAJOR) |