Commit 2d97ce7a authored by Naumann, Andreas's avatar Naumann, Andreas
Browse files

removed cmake warnings

parent 7eeca48c
...@@ -36,7 +36,7 @@ set(AMDiS_USE_FILE ${AMDiS_DIR}/AMDiSUse.cmake) ...@@ -36,7 +36,7 @@ set(AMDiS_USE_FILE ${AMDiS_DIR}/AMDiSUse.cmake)
set(AMDiS_COMPILEFLAGS "@COMPILEFLAGS@") set(AMDiS_COMPILEFLAGS "@COMPILEFLAGS@")
message("find-components: ${AMDiS_FIND_COMPONENTS}") message("find-components: ${AMDiS_FIND_COMPONENTS}")
if(${AMDiS_NEED_UMFPACK}) if(AMDiS_NEED_UMFPACK)
set(BLAS_LIBRARY_DIR "" CACHE PATH "the blas library directory") set(BLAS_LIBRARY_DIR "" CACHE PATH "the blas library directory")
set(BLAS_LIBRARY "blas" CACHE STRING "the blas library") set(BLAS_LIBRARY "blas" CACHE STRING "the blas library")
find_library(_BLAS_LIB ${BLAS_LIBRARY} PATHS ${BLAS_LIBRARY_DIR}) find_library(_BLAS_LIB ${BLAS_LIBRARY} PATHS ${BLAS_LIBRARY_DIR})
...@@ -51,10 +51,10 @@ if(${AMDiS_NEED_UMFPACK}) ...@@ -51,10 +51,10 @@ if(${AMDiS_NEED_UMFPACK})
${AMDiS_INCLUDE_DIR}/ufconfig ${AMDiS_INCLUDE_DIR}/ufconfig
${AMDiS_INCLUDE_DIR}/ufconfig/xerbla ${AMDiS_INCLUDE_DIR}/ufconfig/xerbla
) )
endif(${AMDiS_NEED_UMFPACK}) endif(AMDiS_NEED_UMFPACK)
if(${AMDiS_FIND_COMPONENTS} MATCHES umfpack ) if(${AMDiS_FIND_COMPONENTS} MATCHES umfpack )
if( ${AMDiS_NEED_UMFPACK} ) if( AMDiS_NEED_UMFPACK )
list(APPEND AMDiS_LIBRARIES umfpack blas) list(APPEND AMDiS_LIBRARIES umfpack blas)
else() else()
set( AMDiS_umfpack_FOUND FALSE) set( AMDiS_umfpack_FOUND FALSE)
...@@ -62,7 +62,7 @@ if(${AMDiS_FIND_COMPONENTS} MATCHES umfpack ) ...@@ -62,7 +62,7 @@ if(${AMDiS_FIND_COMPONENTS} MATCHES umfpack )
endif() endif()
endif() endif()
if( ${AMDiS_NEED_PARMETIS} ) if( AMDiS_NEED_PARMETIS )
list(APPEND AMDiS_LIBRARIES parmetis metis) list(APPEND AMDiS_LIBRARIES parmetis metis)
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