From 201445d0f78585e74cdb495ce06af54869b9175f Mon Sep 17 00:00:00 2001 From: Michael Rilee Date: Thu, 7 Aug 2014 13:12:06 -0400 Subject: [PATCH] Deleted extra reference to MAX_RANK, which is not needed after code is generated. --- CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8f175f2..b59b240 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,9 +81,10 @@ if (MPI) message( STATUS "MPI enabled") endif() -if (MAX_RANK) - add_definitions(-DMAX_RANK=${MAX_RANK}) -endif() +# 2014-0807 MLR MAX_RANK needed for code generation, not here. +#if (MAX_RANK) +# add_definitions(-DMAX_RANK=${MAX_RANK}) +#endif() if (ROBUST) add_definitions(-DBUILD_ROBUST)