Fixed the unit test splitting for MSVC.

This commit is contained in:
Hauke Heibel 2010-10-21 07:39:06 +02:00
parent ee60fc2062
commit 9bbaff6b41

View File

@ -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("--------------+----------------------------------------------------------------")