two compilation fixes
diff --git a/CMakeLists.txt b/CMakeLists.txt index f304401..c534a0f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -78,7 +78,7 @@ 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)