Skip to content

Commit

Permalink
LAGraph v1.1: allow it to use GraphBLAS v7.1.0 or later
Browse files Browse the repository at this point in the history
  • Loading branch information
DrTimothyAldenDavis committed Nov 29, 2023
1 parent 58d229e commit 575c387
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ else ( )
message ( STATUS "GraphBLAS_ROOT: ${GraphBLAS_ROOT} $ENV{GraphBLAS_ROOT}" )
message ( STATUS "GRAPHBLAS_ROOT: ${GRAPHBLAS_ROOT} $ENV{GRAPHBLAS_ROOT}" )

find_package ( GraphBLAS 8.3.0 MODULE REQUIRED )
# find_package ( GraphBLAS 8.3.0 MODULE REQUIRED )
find_package ( GraphBLAS 7.1.0 MODULE REQUIRED )

endif ( )

Expand Down Expand Up @@ -197,6 +198,10 @@ include_directories ( ${PROJECT_SOURCE_DIR}/include
${PROJECT_SOURCE_DIR}/test/include )
include_directories ( "/usr/local/include" )

if ( NOT SUITESPARSE_ROOT_CMAKELISTS )
include_directories ( ${GRAPHBLAS_INCLUDE_DIR} )
endif ( )

# tell LAGraph where to find its own source (for LAGraph/data files)
set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DLGDIR=${PROJECT_SOURCE_DIR}" )
# set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O" )
Expand Down

0 comments on commit 575c387

Please sign in to comment.