mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-11-27 06:30:28 +08:00
remove debug message in FindCholmod.cmake
This commit is contained in:
parent
5066fe8bbe
commit
96538b976d
@ -19,56 +19,50 @@ if(CHOLMOD_LIBRARIES)
|
||||
|
||||
get_filename_component(CHOLMOD_LIBDIR ${CHOLMOD_LIBRARIES} PATH)
|
||||
|
||||
message("found CHOLMOD_LIBRARIES " ${CHOLMOD_LIBRARIES} " in " ${CHOLMOD_LIBDIR})
|
||||
|
||||
find_library(AMD_LIBRARY amd PATHS ${CHOLMOD_LIBDIR} $ENV{CHOLMODDIR} ${LIB_INSTALL_DIR})
|
||||
if (AMD_LIBRARY)
|
||||
set(CHOLMOD_LIBRARIES ${CHOLMOD_LIBRARIES} ${AMD_LIBRARY})
|
||||
message ("AMD_LIBRARY found")
|
||||
else (AMD_LIBRARY)
|
||||
message ("AMD_LIBRARY not found")
|
||||
set(CHOLMOD_LIBRARIES FALSE)
|
||||
else (AMD_LIBRARY)
|
||||
message ("AMD_LIBRARY not found")
|
||||
set(CHOLMOD_LIBRARIES FALSE)
|
||||
endif (AMD_LIBRARY)
|
||||
|
||||
|
||||
endif(CHOLMOD_LIBRARIES)
|
||||
|
||||
if(CHOLMOD_LIBRARIES)
|
||||
message("CHOLMOD_LIBRARIES still here")
|
||||
|
||||
find_library(COLAMD_LIBRARY colamd PATHS ${CHOLMOD_LIBDIR} $ENV{CHOLMODDIR} ${LIB_INSTALL_DIR})
|
||||
if (COLAMD_LIBRARY)
|
||||
set(CHOLMOD_LIBRARIES ${CHOLMOD_LIBRARIES} ${COLAMD_LIBRARY})
|
||||
else (COLAMD_LIBRARY)
|
||||
set(CHOLMOD_LIBRARIES FALSE)
|
||||
else (COLAMD_LIBRARY)
|
||||
set(CHOLMOD_LIBRARIES FALSE)
|
||||
endif (COLAMD_LIBRARY)
|
||||
|
||||
endif(CHOLMOD_LIBRARIES)
|
||||
|
||||
if(CHOLMOD_LIBRARIES)
|
||||
message("CHOLMOD_LIBRARIES still here")
|
||||
|
||||
find_library(CAMD_LIBRARY camd PATHS ${CHOLMOD_LIBDIR} $ENV{CHOLMODDIR} ${LIB_INSTALL_DIR})
|
||||
if (CAMD_LIBRARY)
|
||||
set(CHOLMOD_LIBRARIES ${CHOLMOD_LIBRARIES} ${CAMD_LIBRARY})
|
||||
else (CAMD_LIBRARY)
|
||||
set(CHOLMOD_LIBRARIES FALSE)
|
||||
else (CAMD_LIBRARY)
|
||||
set(CHOLMOD_LIBRARIES FALSE)
|
||||
endif (CAMD_LIBRARY)
|
||||
|
||||
|
||||
endif(CHOLMOD_LIBRARIES)
|
||||
|
||||
if(CHOLMOD_LIBRARIES)
|
||||
message("CHOLMOD_LIBRARIES still here (last)")
|
||||
|
||||
find_library(CCOLAMD_LIBRARY colamd PATHS ${CHOLMOD_LIBDIR} $ENV{CHOLMODDIR} ${LIB_INSTALL_DIR})
|
||||
if (CCOLAMD_LIBRARY)
|
||||
set(CHOLMOD_LIBRARIES ${CHOLMOD_LIBRARIES} ${CCOLAMD_LIBRARY})
|
||||
else (CCOLAMD_LIBRARY)
|
||||
set(CHOLMOD_LIBRARIES FALSE)
|
||||
else (CCOLAMD_LIBRARY)
|
||||
set(CHOLMOD_LIBRARIES FALSE)
|
||||
endif (CCOLAMD_LIBRARY)
|
||||
|
||||
endif(CHOLMOD_LIBRARIES)
|
||||
|
||||
# if(CHOLMOD_LIBRARIES)
|
||||
# endif(CHOLMOD_LIBRARIES)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(CHOLMOD DEFAULT_MSG
|
||||
CHOLMOD_INCLUDES CHOLMOD_LIBRARIES)
|
||||
|
Loading…
Reference in New Issue
Block a user