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

Don't overwrite wholegraph_ROOT if provided #114

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading