diff options
Diffstat (limited to 'bench/btl/libs/C_BLAS/CMakeLists.txt')
-rw-r--r-- | bench/btl/libs/C_BLAS/CMakeLists.txt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/bench/btl/libs/C_BLAS/CMakeLists.txt b/bench/btl/libs/C_BLAS/CMakeLists.txt index 73e5cc46b..f72e9caea 100644 --- a/bench/btl/libs/C_BLAS/CMakeLists.txt +++ b/bench/btl/libs/C_BLAS/CMakeLists.txt @@ -1,13 +1,13 @@ -find_package(CBLAS) -if (CBLAS_FOUND) - include_directories(${CBLAS_INCLUDES} ${PROJECT_SOURCE_DIR}/libs/f77) - btl_add_bench(btl_cblas main.cpp) - if(BUILD_btl_cblas) - target_link_libraries(btl_cblas ${CBLAS_LIBRARIES}) - set_target_properties(btl_cblas PROPERTIES COMPILE_FLAGS "-DCBLASNAME=ATLAS") - endif(BUILD_btl_cblas) -endif (CBLAS_FOUND) +find_package(ATLAS) +if (ATLAS_FOUND) + include_directories(${ATLAS_INCLUDES} ${PROJECT_SOURCE_DIR}/libs/f77) + btl_add_bench(btl_atlas main.cpp) + if(BUILD_btl_atlas) + target_link_libraries(btl_atlas ${ATLAS_LIBRARIES}) + set_target_properties(btl_atlas PROPERTIES COMPILE_FLAGS "-DCBLASNAME=ATLAS -DHAS_LAPACK=1") + endif(BUILD_btl_atlas) +endif (ATLAS_FOUND) find_package(MKL) if (MKL_FOUND) @@ -15,6 +15,6 @@ if (MKL_FOUND) btl_add_bench(btl_mkl main.cpp) if(BUILD_btl_mkl) target_link_libraries(btl_mkl ${MKL_LIBRARIES}) - set_target_properties(btl_mkl PROPERTIES COMPILE_FLAGS "-DCBLASNAME=INTEL_MKL") + set_target_properties(btl_mkl PROPERTIES COMPILE_FLAGS "-DCBLASNAME=INTEL_MKL -DHAS_LAPACK=1") endif(BUILD_btl_mkl) endif (MKL_FOUND) |