diff --git a/python/raft/CMakeLists.txt b/python/raft/CMakeLists.txt index 6e02312a89..02089fa5e9 100644 --- a/python/raft/CMakeLists.txt +++ b/python/raft/CMakeLists.txt @@ -53,6 +53,9 @@ if(NOT raft_FOUND) set(BUILD_TESTS OFF) set(BUILD_BENCHMARKS OFF) + set(RAFT_COMPILE_LIBRARIES OFF) + set(RAFT_COMPILE_DIST_LIBRARY OFF) + set(RAFT_COMPILE_NN_LIBRARY OFF) add_subdirectory(../../cpp raft-cpp) endif()