Explorar el Código

Simplified the enabling the statistics.

Ioannis Koutras hace 13 años
padre
commit
4d8296f4e6
Se han modificado 1 ficheros con 2 adiciones y 6 borrados
  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)