Commit 37b27c57 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Fix issue with the return

parent bada2a32
...@@ -165,7 +165,7 @@ endmacro() ...@@ -165,7 +165,7 @@ endmacro()
# Look for the cblas header files # Look for the cblas header files
# --------------------------------- # ---------------------------------
macro(cblas_check_include) function(cblas_check_include)
if ( CBLAS_INCLUDE_DIRS ) if ( CBLAS_INCLUDE_DIRS )
return() return()
endif() endif()
...@@ -184,7 +184,7 @@ macro(cblas_check_include) ...@@ -184,7 +184,7 @@ macro(cblas_check_include)
HEADERS ${CBLAS_hdrs_to_find} HEADERS ${CBLAS_hdrs_to_find}
SUFFIXES "include" "include/cblas") SUFFIXES "include" "include/cblas")
endmacro() endfunction()
# CBLAS depends on BLAS anyway, try to find it # CBLAS depends on BLAS anyway, try to find it
if(CBLAS_FIND_REQUIRED) if(CBLAS_FIND_REQUIRED)
......
...@@ -172,7 +172,7 @@ endmacro() ...@@ -172,7 +172,7 @@ endmacro()
# Look for the lapacke header files # Look for the lapacke header files
# --------------------------------- # ---------------------------------
macro(lapacke_check_include) function(lapacke_check_include)
if ( LAPACKE_INCLUDE_DIRS ) if ( LAPACKE_INCLUDE_DIRS )
return() return()
endif() endif()
...@@ -191,7 +191,7 @@ macro(lapacke_check_include) ...@@ -191,7 +191,7 @@ macro(lapacke_check_include)
HEADERS ${LAPACKE_hdrs_to_find} HEADERS ${LAPACKE_hdrs_to_find}
SUFFIXES "include" "include/lapacke" "include/mkl") SUFFIXES "include" "include/lapacke" "include/mkl")
endmacro() endfunction()
# to check LAPACKE components # to check LAPACKE components
set(LAPACKE_WITH_TMG OFF) set(LAPACKE_WITH_TMG OFF)
......
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