BTL: do not enable GOTO1 if GOTO2 was found
diff --git a/bench/btl/libs/BLAS/CMakeLists.txt b/bench/btl/libs/BLAS/CMakeLists.txt
index ad3858e..de42fe0 100644
--- a/bench/btl/libs/BLAS/CMakeLists.txt
+++ b/bench/btl/libs/BLAS/CMakeLists.txt
@@ -17,15 +17,6 @@
   endif(BUILD_btl_mkl)
 endif (MKL_FOUND)
 
-find_package(GOTO)
-if (GOTO_FOUND)
-  btl_add_bench(btl_goto main.cpp)
-  if(BUILD_btl_goto)
-    target_link_libraries(btl_goto ${GOTO_LIBRARIES} )
-    set_target_properties(btl_goto PROPERTIES COMPILE_FLAGS "-DCBLASNAME=GOTO")
-  endif(BUILD_btl_goto)
-endif (GOTO_FOUND)
-
 
 find_package(GOTO2)
 if (GOTO2_FOUND)
@@ -36,6 +27,19 @@
   endif(BUILD_btl_goto2)
 endif (GOTO2_FOUND)
 
+find_package(GOTO)
+if (GOTO_FOUND)
+  if(GOTO2_FOUND)
+    btl_add_bench(btl_goto main.cpp OFF)
+  else()
+    btl_add_bench(btl_goto main.cpp)
+  endif()
+  if(BUILD_btl_goto)
+    target_link_libraries(btl_goto ${GOTO_LIBRARIES} )
+    set_target_properties(btl_goto PROPERTIES COMPILE_FLAGS "-DCBLASNAME=GOTO")
+  endif(BUILD_btl_goto)
+endif (GOTO_FOUND)
+
 find_package(ACML)
 if (ACML_FOUND)
   btl_add_bench(btl_acml main.cpp)