From 9bbaff6b41a0fb432559ae0fec2fc30dfe327803 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Thu, 21 Oct 2010 07:39:06 +0200 Subject: [PATCH] Fixed the unit test splitting for MSVC. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 16f21faa5..869a78240 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,6 +88,7 @@ else() set(CMAKE_BUILD_TYPE "Release") endif() +string(TOLOWER "${CMAKE_GENERATOR}" cmake_generator_tolower) if(cmake_generator_tolower MATCHES "makefile" AND NOT MSVC_IDE) option(EIGEN_SPLIT_LARGE_TESTS "Split large tests into smaller executables" ON) else() @@ -306,7 +307,6 @@ message("") message("Configured Eigen ${EIGEN_VERSION_NUMBER}") message("") -string(TOLOWER "${CMAKE_GENERATOR}" cmake_generator_tolower) if(cmake_generator_tolower MATCHES "makefile") message("Some things you can do now:") message("--------------+----------------------------------------------------------------")