Skip to content

Commit

Permalink
GraphBLAS: Fix include directory of static library in build tree
Browse files Browse the repository at this point in the history
This is only an issue when trying to link to the GraphBLAS_static CMake
target before it is installed. No functional change for that target after
it is installed.

Missed in e1c7e4e
  • Loading branch information
mmuetzel committed Nov 5, 2023
1 parent bb2b7b5 commit 2731ed9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GraphBLAS/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ set ( PROJECT_VERSION "${GraphBLAS_VERSION_MAJOR}.${GraphBLAS_VERSION_MINOR}.${G

# GraphBLAS takes a long time to build, so do not build the static library
# by default
set ( NSTATIC_DEFAULT_ON true )
set ( NSTATIC_DEFAULT_ON ON )

# CUDA is under development for now, and not deployed in production:
set ( ENABLE_CUDA false )
Expand Down Expand Up @@ -292,7 +292,7 @@ if ( NOT NSTATIC )
endif ( )

target_include_directories ( GraphBLAS_static
INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/Include>
$<INSTALL_INTERFACE:${SUITESPARSE_INCLUDEDIR}> )

if ( SUITESPARSE_CUDA )
Expand Down

0 comments on commit 2731ed9

Please sign in to comment.