# find\_package(BLAS) fails to find Arm performance libraries

**URL:** https://discourse.cmake.org/t/find-package-blas-fails-to-find-arm-performance-libraries/11645
**Category:** Code
**Tags:** os:windows
**Created:** [September 11, 2024, 1:12pm UTC](https://discourse.cmake.org/t/find-package-blas-fails-to-find-arm-performance-libraries/11645 "2024-09-11T13:12:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![AlinPahontu](https://discourse.cmake.org/user_avatar/discourse.cmake.org/alinpahontu/32/4731_2.png) [@AlinPahontu](https://discourse.cmake.org/u/AlinPahontu)
#### Post date: [September 11, 2024, 1:12pm UTC](https://discourse.cmake.org/t/find-package-blas-fails-to-find-arm-performance-libraries/11645/1 "2024-09-11T13:12:18Z")

</div>

I have just downloaded and installed latest APL (24.04) on my windows on arm device. I am currently just making some small tests, but cmake fails to find apl. To reproduce, here is my CMakeLists file:

> cmake\_minimum\_required(VERSION 3.18)  
> project(DUMMYAPL)  
> set(BLA\_VENDOR Arm)  
> find\_package(BLAS)  
> add\_executable(main main.cpp)  
> if (BLAS\_FOUND)  
> target\_include\_directories(main PRVATE ${BLAS\_INCLUDE\_LIBRARIES})  
> target\_link\_libraries(main PRVATE ${BLAS\_LIBRARIES})  
> else()  
> message(FATAL\_ERROR “APL NOT FOUND”)  
> endif()

and this is my main.cpp file:

> #include \</iostream/\>  
> #include “armpl.h”
> 
> int main() {  
> std::cout \<\< “Success” \<\< std::endl;  
> return 0;
> 
> }  
> It fails with this error: **– Could NOT find BLAS (missing: BLAS\_LIBRARIES)**  
> When I try a similar approach on my windows intel device( I just replace armpl.h with mkl.h and the BLA\_VENDOR with Intel10\_64lp), it works. Does someone know why this ight be happening ?
