Kaynağa Gözat

Simplified the enabling the statistics.

Ioannis Koutras 13 yıl önce
ebeveyn
işleme
4d8296f4e6
1 değiştirilmiş dosya ile 2 ekleme ve 6 silme
  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)