Skip to content

Make CMAKE environment variable export more universal #68

@Rene36

Description

@Rene36

https://github.com/IBM/GEDS/blob/main/doc/BUILDING.md#linux

Replace CMAKE_VERSION=3.22.4 with export CMAKE_VERSION=$(cmake --version | grep -oP '\d+(\.\d+)(\.\d+)') to export the device's cmake version into an environment variable, which is then used in the subsequent command.

Check if environment variable is correctly set via
printenv | grep CMAKE_VERSION

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