Commit 9032b0be authored by Florent Pruvost's avatar Florent Pruvost

FindCBLAS was not calling BLASEXT component when not required

parent d9a97407
...@@ -80,7 +80,11 @@ endif() ...@@ -80,7 +80,11 @@ endif()
if (CBLAS_FIND_COMPONENTS) if (CBLAS_FIND_COMPONENTS)
foreach( component ${CBLAS_FIND_COMPONENTS} ) foreach( component ${CBLAS_FIND_COMPONENTS} )
if(CBLAS_FIND_REQUIRED_${component}) if(CBLAS_FIND_REQUIRED_${component})
find_package(${component} REQUIRED) if (CBLAS_FIND_REQUIRED)
find_package(${component} REQUIRED)
else()
find_package(${component})
endif()
else() else()
find_package(${component}) find_package(${component})
endif() endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment