two compilation fixes

This commit is contained in:
Gael Guennebaud
2009-01-15 08:26:40 +00:00
parent 2d53466fa9
commit 4f33fbfc07
2 changed files with 1 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ endif(MSVC)
option(EIGEN_TEST_NO_EXPLICIT_VECTORIZATION "Disable explicit vectorization in tests/examples" OFF)
if(EIGEN_TEST_NO_EXPLICIT_VECTORIZATION)
add_definitions(EIGEN_DONT_VECTORIZE=1)
add_definitions(-DEIGEN_DONT_VECTORIZE=1)
message("Disabling vectorization in tests/examples")
endif(EIGEN_TEST_NO_EXPLICIT_VECTORIZATION)