diff --git a/python/pylibraft/pylibraft/distance/CMakeLists.txt b/python/pylibraft/pylibraft/distance/CMakeLists.txt index 4281a983dd..f8a7faf450 100644 --- a/python/pylibraft/pylibraft/distance/CMakeLists.txt +++ b/python/pylibraft/pylibraft/distance/CMakeLists.txt @@ -13,11 +13,11 @@ # ============================================================================= # Set the list of Cython files to build -set(cython_modules pairwise_distance.pyx) +set(cython_sources pairwise_distance.pyx) set(linked_libraries raft::raft raft::distance) # Build all of the Cython targets rapids_cython_create_modules( - SOURCE_FILES "${cython_modules}" + SOURCE_FILES "${cython_sources}" LINKED_LIBRARIES "${linked_libraries}" CXX)