Skip to content

Commit

Permalink
Add debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Jan 24, 2023
1 parent f87323c commit 36fa38a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/pylibraft/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ option(RAFT_BUILD_WHEELS "Whether this build is generating a Python wheel." OFF)
if(FIND_RAFT_CPP)
find_package(raft ${pylibraft_version} REQUIRED COMPONENTS distance)
if(NOT TARGET raft::raft_distance_lib)
file(READ "${raft_DIR}/raft-config.cmake" contents)
message(
FATAL_ERROR
"Building against a preexisting libraft library requires the distance components of that library to have been built!"
"${contents} Building against a preexisting libraft library requires the distance components of that library to have been built!"
)

endif()
Expand Down

0 comments on commit 36fa38a

Please sign in to comment.