Skip to content

rule install in cmake list and -fPIC #21

@y9luiz

Description

@y9luiz

Hello, i'm developing a project using your openfabmap implementation, i link my project using your library, but was a little bit hard to me because i'm dont a expert in cmake, but now works well.

i need to add this line into your cmake file:
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
to enable the -fPIC recompilation and works well

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