Browse Source

Simplified the enabling the statistics.

Ioannis Koutras 13 years ago
parent
commit
4d8296f4e6
1 changed files with 2 additions and 6 deletions
  1. 2 6
      DefineOptions.cmake

+ 2 - 6
DefineOptions.cmake

@@ -139,11 +139,7 @@ elseif(WITH_SPLITTING STREQUAL "variable")
   set(SPLITTING_VARIABLE ON)
 endif(WITH_SPLITTING STREQUAL "fixed")
 
-if(COUNT_ACCESSES)
+if(COUNT_ACCESSES OR COUNT_HOPS)
  set(WITH_STATS ON)
-endif(COUNT_HOPS)
-
-if(COUNT_HOPS)
- set(WITH_STATS ON)
-endif(COUNT_HOPS)
+endif(COUNT_ACCESSES OR COUNT_HOPS)