From cd3a9d1ccba8547378e993538d3347705ad950f1 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Sun, 17 Oct 2010 12:33:47 +0200 Subject: Fixed bug #74. --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3