Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Don't overwrite wholegraph_ROOT if provided
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Dec 19, 2023
1 parent c43f6d1 commit 6244bc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/pylibwholegraph/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ include(../../cpp/cmake/thirdparty/get_raft.cmake)
#include(${CMAKE_CURRENT_LIST_DIR}/../cmake/thirdparty/nanobind.cmake)

# use <package>_ROOT here to take precedence over any other package
set(wholegraph_ROOT "$ENV{LIBWHOLEGRAPH_DIR}")
if (DEFINED ENV{LIBWHOLEGRAPH_DIR})
set(wholegraph_ROOT "$ENV{LIBWHOLEGRAPH_DIR}")
endif()
find_package(wholegraph "${RAPIDS_VERSION}.0" EXACT)
message("WholeGraph")
if (WHOLEGRAPH_FOUND)
Expand Down

0 comments on commit 6244bc5

Please sign in to comment.