aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/btl
diff options
context:
space:
mode:
Diffstat (limited to 'bench/btl')
-rw-r--r--bench/btl/libs/BLAS/CMakeLists.txt22
1 files changed, 13 insertions, 9 deletions
diff --git a/bench/btl/libs/BLAS/CMakeLists.txt b/bench/btl/libs/BLAS/CMakeLists.txt
index ad3858ee0..de42fe047 100644
--- a/bench/btl/libs/BLAS/CMakeLists.txt
+++ b/bench/btl/libs/BLAS/CMakeLists.txt
@@ -17,15 +17,6 @@ if (MKL_FOUND)
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 @@ if (GOTO2_FOUND)
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)