Skip to content

CMAKE_POSITION_INDEPENDENT_CODE #7

@PetterS

Description

@PetterS

Is there a perfomance reason the configuration does not always do this:

set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)

Even if static libraries are built, they may be needed to in turn build shared libraries, which will fail without position independent code. I recently encountered this and had to change CMakeLists.txt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions