diff --git a/cmake_modules/morse/find/FindCBLAS.cmake b/cmake_modules/morse/find/FindCBLAS.cmake index c3945f718cb7a7143e4cfcaf6e472ea3209c42ec..316206d9c35ece59567d589980012305ed83772a 100644 --- a/cmake_modules/morse/find/FindCBLAS.cmake +++ b/cmake_modules/morse/find/FindCBLAS.cmake @@ -104,6 +104,8 @@ if (CBLAS_FIND_COMPONENTS) if(CBLAS_FIND_REQUIRED_${component}) if (CBLAS_FIND_REQUIRED) find_package(${component} REQUIRED) + else() + find_package(${component}) endif() else() find_package(${component})