ソースを参照

Simplified the enabling the statistics.

Ioannis Koutras 13 年 前
コミット
4d8296f4e6
共有1 個のファイルを変更した2 個の追加6 個の削除を含む
  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)