Skip to content

Commit

Permalink
LAGraph: Also look for GraphBLAS import target in common build tree
Browse files Browse the repository at this point in the history
That is needed when using the root CMakeLists.txt.
  • Loading branch information
mmuetzel committed Nov 29, 2023
1 parent ea2d215 commit e58db6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LAGraph/cmake_modules/FindGraphBLAS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ in your CMakeLists.txt file. See also SuiteSparse/Example/CMakeLists.txt:
## New versions of SuiteSparse GraphBLAS (8.0.3 and newer) ##

find_package ( GraphBLAS ${GraphBLAS_FIND_VERSION} CONFIG
PATHS ${PROJECT_SOURCE_DIR}/../GraphBLAS/build NO_DEFAULT_PATH )
PATHS ${PROJECT_SOURCE_DIR}/../GraphBLAS/build ${CMAKE_BINARY_DIR} NO_DEFAULT_PATH )
if ( NOT TARGET SuiteSparse::GraphBLAS )
find_package ( GraphBLAS ${GraphBLAS_FIND_VERSION} CONFIG )
endif ( )
Expand Down

0 comments on commit e58db6f

Please sign in to comment.