Skip to content
Snippets Groups Projects
Commit 2d97ce7a authored by Naumann, Andreas's avatar Naumann, Andreas
Browse files

removed cmake warnings

parent 7eeca48c
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ set(AMDiS_USE_FILE ${AMDiS_DIR}/AMDiSUse.cmake)
set(AMDiS_COMPILEFLAGS "@COMPILEFLAGS@")
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 "blas" CACHE STRING "the blas library")
find_library(_BLAS_LIB ${BLAS_LIBRARY} PATHS ${BLAS_LIBRARY_DIR})
......@@ -51,10 +51,10 @@ if(${AMDiS_NEED_UMFPACK})
${AMDiS_INCLUDE_DIR}/ufconfig
${AMDiS_INCLUDE_DIR}/ufconfig/xerbla
)
endif(${AMDiS_NEED_UMFPACK})
endif(AMDiS_NEED_UMFPACK)
if(${AMDiS_FIND_COMPONENTS} MATCHES umfpack )
if( ${AMDiS_NEED_UMFPACK} )
if( AMDiS_NEED_UMFPACK )
list(APPEND AMDiS_LIBRARIES umfpack blas)
else()
set( AMDiS_umfpack_FOUND FALSE)
......@@ -62,7 +62,7 @@ if(${AMDiS_FIND_COMPONENTS} MATCHES umfpack )
endif()
endif()
if( ${AMDiS_NEED_PARMETIS} )
if( AMDiS_NEED_PARMETIS )
list(APPEND AMDiS_LIBRARIES parmetis metis)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment