Skip to content

CMake addition request #222

@robiwano

Description

@robiwano

With the following addition it is extremely easy to add cereal to CMake based projects:

ADD_LIBRARY(cereal INTERFACE)

TARGET_INCLUDE_DIRECTORIES(
cereal
INTERFACE include
)

When a project uses TARGET_LINK_LIBRARIES(target ... cereal ... ), include paths will be set automatically for the given target.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions