add EIGEN_DEFAULT_TO_ROW_MAJOR cmake option for the tests.

This commit is contained in:
Benoit Jacob
2010-01-27 07:48:48 -05:00
parent 35bacf7cb8
commit dcbf104bcc
2 changed files with 11 additions and 0 deletions

View File

@@ -5,6 +5,11 @@ add_dependencies(check buildtests)
option(EIGEN_SPLIT_LARGE_TESTS "Split large tests into smaller executables" ON)
option(EIGEN_DEFAULT_TO_ROW_MAJOR "Use row-major as default matrix storage order" OFF)
if(EIGEN_DEFAULT_TO_ROW_MAJOR)
add_definitions("-DEIGEN_DEFAULT_TO_ROW_MAJOR")
endif()
find_package(GSL)
if(GSL_FOUND AND GSL_VERSION_MINOR LESS 9)
set(GSL_FOUND "")