diff --git a/src/config.hpp.in b/src/config.hpp.in index 5698abf9b..16ee5a43f 100644 --- a/src/config.hpp.in +++ b/src/config.hpp.in @@ -38,7 +38,5 @@ #cmakedefine ENABLE_ROCRAND_BACKEND #cmakedefine ENABLE_ROCSOLVER_BACKEND #cmakedefine BUILD_SHARED_LIBS -#cmakedefine REF_BLAS_LIBNAME "@REF_BLAS_LIBNAME@" -#cmakedefine REF_CBLAS_LIBNAME "@REF_CBLAS_LIBNAME@" #endif diff --git a/tests/unit_tests/blas/CMakeLists.txt b/tests/unit_tests/blas/CMakeLists.txt index 74034decb..442079833 100644 --- a/tests/unit_tests/blas/CMakeLists.txt +++ b/tests/unit_tests/blas/CMakeLists.txt @@ -17,6 +17,11 @@ # SPDX-License-Identifier: Apache-2.0 #=============================================================================== +# Add compile definitions for the reference libraries +add_compile_definitions( + REF_BLAS_LIBNAME="${REF_BLAS_LIBNAME}" + REF_CBLAS_LIBNAME="${REF_CBLAS_LIBNAME}") + add_subdirectory(level1) add_subdirectory(level2) add_subdirectory(level3)