Skip to content

Headers are absent after installation #231

@barynton

Description

@barynton

Some headers are not added in cmake as f.e. macros.h , so it can be fixed like this

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 070a412..e739aaf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,7 +19,8 @@ if (WITH_PYTHON)
 endif()
 find_package(Torch REQUIRED)
 
-file(GLOB HEADERS csrc/sparse.h)
+file(GLOB HEADERS csrc/*.h)
+
 file(GLOB OPERATOR_SOURCES csrc/*.* csrc/cpu/*.*)
 if(WITH_CUDA)
   file(GLOB OPERATOR_SOURCES ${OPERATOR_SOURCES} csrc/cuda/*.h csrc/cuda/*.cu)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions