Skip to content

Wrong include directories #292

@robiwano

Description

@robiwano

The include directories are set here: https://github.com/projectNe10/Ne10/blob/master/modules/CMakeLists.txt#L363C22-L363C22

That doesn't work with Ne10 used as submodule or via FetchContent, as PROJECT_SOURCE_DIR is the directory of the project USING Ne10, not Ne10 itself.

target_include_directories(NE10 PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/inc)

should be used in top-level CMakeLists.txt instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions