Skip to content

Commit

Permalink
more diagnostics in UMFPACK/CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
DrTimothyAldenDavis committed Dec 2, 2023
1 parent 4228c25 commit 96edb89
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions UMFPACK/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,9 @@ if ( NOT NCHOLMOD )
endif ( )
endif ( )

get_target_property(dirs UMFPACK INCLUDE_DIRECTORIES)
message ( STATUS "umfpack 1: ${dirs}" )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "24: ${dirs}" )

Expand All @@ -322,6 +325,9 @@ endif ( )
get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "25: ${dirs}" )

get_target_property(dirs UMFPACK INCLUDE_DIRECTORIES)
message ( STATUS "umfpack 2: ${dirs}" )

# libm:
if ( NOT WIN32 )
if ( BUILD_SHARED_LIBS )
Expand Down Expand Up @@ -413,7 +419,7 @@ install ( FILES
DESTINATION ${SUITESPARSE_PKGFILEDIR}/cmake/UMFPACK )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "1: ${dirs}" )
message ( STATUS "30: ${dirs}" )

#-------------------------------------------------------------------------------
# create pkg-config file
Expand Down Expand Up @@ -447,8 +453,11 @@ if ( NOT MSVC )
endforeach ( )
endforeach ( )

get_target_property(dirs UMFPACK INCLUDE_DIRECTORIES)
message ( STATUS "umfpack 3: ${dirs}" )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "1: ${dirs}" )
message ( STATUS "31: ${dirs}" )

set ( prefix "${CMAKE_INSTALL_PREFIX}" )
set ( exec_prefix "\${prefix}" )
Expand All @@ -475,7 +484,7 @@ message ( STATUS "1: ${dirs}" )
endif ( )

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "1: ${dirs}" )
message ( STATUS "32: ${dirs}" )

#-------------------------------------------------------------------------------
# Demo library and programs
Expand Down Expand Up @@ -562,7 +571,7 @@ endif ( )
#-------------------------------------------------------------------------------

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
message ( STATUS "1: ${dirs}" )
message ( STATUS "33: ${dirs}" )

if ( NOT SUITESPARSE_ROOT_CMAKELISTS )
include ( SuiteSparseReport )
Expand Down

0 comments on commit 96edb89

Please sign in to comment.