Skip to content

Commit

Permalink
SuiteSparsePolicy.cmake: Don't append to CMAKE_BUILD_RPATH
Browse files Browse the repository at this point in the history
On platforms that support it, the rpath should be set by default for
libraries before installation.
  • Loading branch information
mmuetzel committed Dec 19, 2023
1 parent 1a5cc63 commit b2441da
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
8 changes: 0 additions & 8 deletions GraphBLAS/cmake_modules/SuiteSparsePolicy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,6 @@ else ( )
${CMAKE_SOURCE_DIR}/../lib/cmake )
endif ( )

# add the ./build folder to the runpath so other SuiteSparse packages can
# find this one without "make install"
list ( FIND CMAKE_BUILD_RPATH ${CMAKE_BINARY_DIR} _idx )
if ( _idx LESS 0 )
# not yet included in CMAKE_BUILD_RPATH
list ( APPEND CMAKE_BUILD_RPATH ${CMAKE_BINARY_DIR} )
endif ( )

set ( INSIDE_SUITESPARSE OFF )
if ( NOT SUITESPARSE_ROOT_CMAKELISTS )
# determine if this Package is inside the SuiteSparse folder
Expand Down
8 changes: 0 additions & 8 deletions LAGraph/cmake_modules/SuiteSparsePolicy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,6 @@ else ( )
${CMAKE_SOURCE_DIR}/../lib/cmake )
endif ( )

# add the ./build folder to the runpath so other SuiteSparse packages can
# find this one without "make install"
list ( FIND CMAKE_BUILD_RPATH ${CMAKE_BINARY_DIR} _idx )
if ( _idx LESS 0 )
# not yet included in CMAKE_BUILD_RPATH
list ( APPEND CMAKE_BUILD_RPATH ${CMAKE_BINARY_DIR} )
endif ( )

set ( INSIDE_SUITESPARSE OFF )
if ( NOT SUITESPARSE_ROOT_CMAKELISTS )
# determine if this Package is inside the SuiteSparse folder
Expand Down
8 changes: 0 additions & 8 deletions SuiteSparse_config/cmake_modules/SuiteSparsePolicy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,6 @@ else ( )
${CMAKE_SOURCE_DIR}/../lib/cmake )
endif ( )

# add the ./build folder to the runpath so other SuiteSparse packages can
# find this one without "make install"
list ( FIND CMAKE_BUILD_RPATH ${CMAKE_BINARY_DIR} _idx )
if ( _idx LESS 0 )
# not yet included in CMAKE_BUILD_RPATH
list ( APPEND CMAKE_BUILD_RPATH ${CMAKE_BINARY_DIR} )
endif ( )

set ( INSIDE_SUITESPARSE OFF )
if ( NOT SUITESPARSE_ROOT_CMAKELISTS )
# determine if this Package is inside the SuiteSparse folder
Expand Down

0 comments on commit b2441da

Please sign in to comment.